Code Context } catch (MongoException $e) {
$this->error = $e->getMessage();
trigger_error($this->error);
$Model = object(EventCache) {
primaryKey => '_id'
useDbConfig => 'mongo'
useTable => 'events_cache'
id => false
data => array(
'EventCache' => array(
[maximum depth reached]
)
)
schemaName => null
table => 'events_cache'
validate => array()
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => 'Core'
name => 'EventCache'
alias => 'EventCache'
tableToModel => array(
'events_cache' => 'EventCache'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => false
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => array(
'_id' => array(
[maximum depth reached]
),
'created' => array(
[maximum depth reached]
),
'modified' => array(
[maximum depth reached]
),
'data' => array(
[maximum depth reached]
),
'params' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => object(ModelValidator) {}
}
$fields = array(
(int) 0 => '_id',
(int) 1 => 'data',
(int) 2 => 'params',
(int) 3 => 'modified',
(int) 4 => 'created'
)
$values = array(
(int) 0 => '74b7fb2aa26d175b6b99c24901dfd672',
(int) 1 => array(),
(int) 2 => '{"title":"Events Near Edgewood WA","keyword":"","radius":45,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":365,"images":"yes","max-days":365,"max-miles":45,"message":"","min":20,"prompt":"","height":"","width":"","more":"yes","autoshowmore":"no","link":"","showdesc":"yes","rankby":"distance","type":"","ad_slots":"","see-more-title":"","searchdate":"","lat":47.1697998046875,"lng":-122.29299926757812,"latlng":"47.169799804688,-122.29299926758","count":0}',
(int) 3 => object(MongoDate) {
sec => (int) 1732926622
usec => (int) 448000
},
(int) 4 => object(MongoDate) {
sec => (int) 1732926622
usec => (int) 449000
}
)
$data = array(
'_id' => '74b7fb2aa26d175b6b99c24901dfd672',
'data' => array(),
'params' => '{"title":"Events Near Edgewood WA","keyword":"","radius":45,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":365,"images":"yes","max-days":365,"max-miles":45,"message":"","min":20,"prompt":"","height":"","width":"","more":"yes","autoshowmore":"no","link":"","showdesc":"yes","rankby":"distance","type":"","ad_slots":"","see-more-title":"","searchdate":"","lat":47.1697998046875,"lng":-122.29299926757812,"latlng":"47.169799804688,-122.29299926758","count":0}',
'modified' => object(MongoDate) {
sec => (int) 1732926622
usec => (int) 448000
},
'created' => object(MongoDate) {
sec => (int) 1732926622
usec => (int) 449000
}
)
$e = object(MongoDuplicateKeyException) {
xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: stepoutside.events_cache index: _id_ dup key: { : "74b7fb2aa26d175b6b99c24901dfd672" } in /var/www/vhosts/devel4/stepoutside/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>414784</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0168</td><td bgcolor='#eeeeec' align='right'>2064880</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>133</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0263</td><td bgcolor='#eeeeec' align='right'>3016008</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0348</td><td bgcolor='#eeeeec' align='right'>3855920</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0348</td><td bgcolor='#eeeeec' align='right'>3856048</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a>
( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0348</td><td bgcolor='#eeeeec' align='right'>3856056</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0599</td><td bgcolor='#eeeeec' align='right'>5735040</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>12</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0630</td><td bgcolor='#eeeeec' align='right'>5994152</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>219</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0674</td><td bgcolor='#eeeeec' align='right'>6440040</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0676</td><td bgcolor='#eeeeec' align='right'>6450048</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0677</td><td bgcolor='#eeeeec' align='right'>6450984</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0678</td><td bgcolor='#eeeeec' align='right'>6483848</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/devel4/stepoutside/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.3575</td><td bgcolor='#eeeeec' align='right'>8152488</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.3578</td><td bgcolor='#eeeeec' align='right'>8154736</td><td bgcolor='#eeeeec'>View->requestAction( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>23</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.3580</td><td bgcolor='#eeeeec' align='right'>8155520</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.3591</td><td bgcolor='#eeeeec' align='right'>8185976</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.3625</td><td bgcolor='#eeeeec' align='right'>8324024</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.3625</td><td bgcolor='#eeeeec' align='right'>8324152</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a>
( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.3625</td><td bgcolor='#eeeeec' align='right'>8324160</td><td bgcolor='#eeeeec'>EventsController->index( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.3626</td><td bgcolor='#eeeeec' align='right'>8327968</td><td bgcolor='#eeeeec'>EventsComponent->search( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>16</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.4485</td><td bgcolor='#eeeeec' align='right'>8430224</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/Plugin/Core/Controller/Component/EventsComponent.php' bgcolor='#eeeeec'>.../EventsComponent.php<b>:</b>58</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.4485</td><td bgcolor='#eeeeec' align='right'>8430600</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1758</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.4834</td><td bgcolor='#eeeeec' align='right'>8622600</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/devel4/stepoutside/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1940</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.4837</td><td bgcolor='#eeeeec' align='right'>8623224</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/devel4/stepoutside/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr>
'
[protected] message => 'E11000 duplicate key error collection: stepoutside.events_cache index: _id_ dup key: { : "74b7fb2aa26d175b6b99c24901dfd672" }'
[protected] code => (int) 11000
[protected] file => '/var/www/vhosts/devel4/stepoutside/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php'
[protected] line => (int) 86
}
MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505
Model::_doSave() - CORE/Cake/Model/Model.php, line 1940
Model::save() - CORE/Cake/Model/Model.php, line 1758
EventsComponent::search() - APP/Plugin/Core/Controller/Component/EventsComponent.php, line 58
EventsController::index() - APP/Controller/EventsController.php, line 16
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104
Modules::render() - APP/Lib/Modules.php, line 23
include - APP/View/Elements/display.ctp, line 13
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
AppController::renderPage() - APP/Controller/AppController.php, line 219