Notice (1024) : E11000 duplicate key error collection: p300.events_radius_cache index: _id_ dup key: { _id: "f649280dec98ac9a7a7d39f98acdbf8f" } [APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php , line 508 ]Code Context } catch ( MongoException $e ) {
$this -> error = $e -> getMessage ();
trigger_error ( $this -> error ); $Model = object(EventRadiusCache) {
primaryKey => '_id'
useDbConfig => 'mongo'
useTable => 'events_radius_cache'
id => false
data => array(
'EventRadiusCache' => array(
[maximum depth reached]
)
)
schemaName => null
table => 'events_radius_cache'
validate => array()
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => 'Core'
name => 'EventRadiusCache'
alias => 'EventRadiusCache'
tableToModel => array(
'events_radius_cache' => 'EventRadiusCache'
)
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]
),
'radius' => 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 => 'radius',
(int) 2 => 'modified',
(int) 3 => 'created'
)
$values = array(
(int) 0 => 'f649280dec98ac9a7a7d39f98acdbf8f',
(int) 1 => (int) 15,
(int) 2 => object(MongoDate) {
sec => (int) 1766057177
usec => (int) 823000
},
(int) 3 => object(MongoDate) {
sec => (int) 1766057177
usec => (int) 823000
}
)
$data = array(
'_id' => 'f649280dec98ac9a7a7d39f98acdbf8f',
'radius' => (int) 15,
'modified' => object(MongoDate) {
sec => (int) 1766057177
usec => (int) 823000
},
'created' => object(MongoDate) {
sec => (int) 1766057177
usec => (int) 823000
}
)
$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: p300.events_radius_cache index: _id_ dup key: { _id: "f649280dec98ac9a7a7d39f98acdbf8f" } in /var/www/vhosts/devel1/project300/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.0002</td><td bgcolor='#eeeeec' align='right'>414984</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/devel1/project300/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.0115</td><td bgcolor='#eeeeec' align='right'>2829224</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( <span>$request = </span><span>class CakeRequest { public $params = ['plugin' => NULL, 'controller' => 'rss', 'action' => 'events', 'named' => [...], 'pass' => [...], 'city' => 'shelby-twp', 'state' => 'mi', 'type' => 'town']; public $data = []; public $query = []; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = ['get' => [...], 'patch' => [...], 'post' => [...], 'put' => [...], 'delete' => [...], 'head' => [...], 'options' => [...], 'ssl' => [...], 'ajax' => [...], 'flash' => [...], 'mobile' => [...], 'requested' => [...], 'json' => [...], 'xml' => [...]]; protected $_input = '' }</span>, <span>$response = </span><span>class CakeResponse { protected $_statusCodes = [100 => 'Continue', 101 => 'Switching Protocols', 200 => 'OK', 201 => 'Created', 202 => 'Accepted', 203 => 'Non-Authoritative Information', 204 => 'No Content', 205 => 'Reset Content', 206 => 'Partial Content', 300 => 'Multiple Choices', 301 => 'Moved Permanently', 302 => 'Found', 303 => 'See Other', 304 => 'Not Modified', 305 => 'Use Proxy', 307 => 'Temporary Redirect', 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required', 403 => 'Forbidden', 404 => 'Not Found', 405 => 'Method Not Allowed', 406 => 'Not Acceptable', 407 => 'Proxy Authentication Required', 408 => 'Request Time-out', 409 => 'Conflict', 410 => 'Gone', 411 => 'Length Required', 412 => 'Precondition Failed', 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Large', 415 => 'Unsupported Media Type', 416 => 'Requested range not satisfiable', 417 => 'Expectation Failed', 429 => 'Too Many Requests', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway', 503 => 'Service Unavailable', 504 => 'Gateway Time-out', 505 => 'Unsupported Version']; protected $_mimeTypes = ['html' => [...], 'json' => 'application/json', 'xml' => [...], 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => [...], 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', ...]; protected $_protocol = 'HTTP/1.1'; protected $_status = 200; protected $_contentType = 'text/html'; protected $_headers = []; protected $_body = NULL; protected $_file = NULL; protected $_fileRange = NULL; protected $_charset = 'UTF-8'; protected $_cacheDirectives = []; protected $_cookies = [] }</span>, <span>$additionalParams = </span>??? )</td><td title='/var/www/vhosts/devel1/project300/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>81</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0149</td><td bgcolor='#eeeeec' align='right'>3465072</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( <span>$controller = </span><span>class RssController { public $uses = [0 => 'Event', 1 => 'Article', 2 => 'News', 3 => 'County', 4 => 'Page', 5 => 'Site', 6 => 'Module', 7 => 'DefaultToken', 8 => 'Announcement', 9 => 'BrandCategory', 10 => 'State']; public $components = ['Session' => NULL, 'Params' => NULL, 'Markup' => NULL, 'Core.Events' => NULL, 'Core.Modules' => NULL]; public $helpers = [0 => 'Cache']; public $paginate = FALSE; public $cacheAction = TRUE; public $pagelimit = 10; public $theme = ''; public $name = 'Rss'; public $request = class CakeRequest { public $params = [...]; public $data = [...]; public $query = [...]; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = [...]; protected $_input = '' }; public $response = class CakeResponse { protected $_statusCodes = [...]; protected $_mimeTypes = [...]; protected $_protocol = 'HTTP/1.1'; protected $_status = 200; protected $_contentType = 'text/html'; protected $_headers = [...]; protected $_body = NULL; protected $_file = NULL; protected $_fileRange = NULL; protected $_charset = 'UTF-8'; protected $_cacheDirectives = [...]; protected $_cookies = [...] }; protected $_responseClass = 'CakeResponse'; public $viewPath = 'Rss'; public $layoutPath = NULL; public $viewVars = []; public $view = 'events'; public $layout = 'p300'; public $autoRender = TRUE; public $autoLayout = TRUE; public $Components = class ComponentCollection { protected $_Controller = ...; protected $_enabled = [...]; protected $_loaded = [...]; public $defaultPriority = 10 }; public $viewClass = 'View'; public $View = NULL; public $ext = '.ctp'; public $plugin = NULL; public $passedArgs = []; public $scaffold = FALSE; public $methods = [0 => 'index', 1 => 'display', 2 => 'events', 3 => 'news', 5 => 'getParams', 6 => 'renderPage', 7 => 'detail_map', 8 => 'jslog', 9 => 'toSef', 10 => 'verify_recaptcha']; public $modelClass = 'Event'; public $modelKey = 'rss'; public $validationErrors = NULL; protected $_mergeParent = 'AppController'; protected $_eventManager = class CakeEventManager { protected $_listeners = [...]; protected $_isGlobal = FALSE }; public $Session = class SessionComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Params = class ParamsComponent { public $data = [...]; public $components = [...]; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $Session = class SessionComponent { ... }; public $searchdate = '' }; public $Markup = class MarkupComponent { public $hostname = ''; public $default_image = 'https://cdn-p300.americantowns.com/img/generic-icon.jpg'; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Events = class EventsComponent { public $Event = class Event { ... }; public $params = [...]; public $defaultRadius = NULL; public $components = [...]; public $controller = ...; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $EventCache = class EventCache { ... }; public $EventRadiusCache = class EventRadiusCache { ... } }; public $Modules = class ModulesComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] } }</span>, <span>$request = </span><span>class CakeRequest { public $params = ['plugin' => NULL, 'controller' => 'rss', 'action' => 'events', 'named' => [...], 'pass' => [...], 'city' => 'shelby-twp', 'state' => 'mi', 'type' => 'town']; public $data = []; public $query = []; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = ['get' => [...], 'patch' => [...], 'post' => [...], 'put' => [...], 'delete' => [...], 'head' => [...], 'options' => [...], 'ssl' => [...], 'ajax' => [...], 'flash' => [...], 'mobile' => [...], 'requested' => [...], 'json' => [...], 'xml' => [...]]; protected $_input = '' }</span> )</td><td title='/var/www/vhosts/devel1/project300/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.0164</td><td bgcolor='#eeeeec' align='right'>3726328</td><td bgcolor='#eeeeec'>Controller->invokeAction( <span>$request = </span><span>class CakeRequest { public $params = ['plugin' => NULL, 'controller' => 'rss', 'action' => 'events', 'named' => [...], 'pass' => [...], 'city' => 'shelby-twp', 'state' => 'mi', 'type' => 'town']; public $data = []; public $query = []; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = ['get' => [...], 'patch' => [...], 'post' => [...], 'put' => [...], 'delete' => [...], 'head' => [...], 'options' => [...], 'ssl' => [...], 'ajax' => [...], 'flash' => [...], 'mobile' => [...], 'requested' => [...], 'json' => [...], 'xml' => [...]]; protected $_input = '' }</span> )</td><td title='/var/www/vhosts/devel1/project300/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.0164</td><td bgcolor='#eeeeec' align='right'>3726440</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a>( <span>$object = </span><span>class RssController { public $uses = [0 => 'Event', 1 => 'Article', 2 => 'News', 3 => 'County', 4 => 'Page', 5 => 'Site', 6 => 'Module', 7 => 'DefaultToken', 8 => 'Announcement', 9 => 'BrandCategory', 10 => 'State']; public $components = ['Session' => NULL, 'Params' => NULL, 'Markup' => NULL, 'Core.Events' => NULL, 'Core.Modules' => NULL]; public $helpers = [0 => 'Cache']; public $paginate = FALSE; public $cacheAction = TRUE; public $pagelimit = 10; public $theme = ''; public $name = 'Rss'; public $request = class CakeRequest { public $params = [...]; public $data = [...]; public $query = [...]; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = [...]; protected $_input = '' }; public $response = class CakeResponse { protected $_statusCodes = [...]; protected $_mimeTypes = [...]; protected $_protocol = 'HTTP/1.1'; protected $_status = 200; protected $_contentType = 'text/html'; protected $_headers = [...]; protected $_body = NULL; protected $_file = NULL; protected $_fileRange = NULL; protected $_charset = 'UTF-8'; protected $_cacheDirectives = [...]; protected $_cookies = [...] }; protected $_responseClass = 'CakeResponse'; public $viewPath = 'Rss'; public $layoutPath = NULL; public $viewVars = []; public $view = 'events'; public $layout = 'p300'; public $autoRender = TRUE; public $autoLayout = TRUE; public $Components = class ComponentCollection { protected $_Controller = ...; protected $_enabled = [...]; protected $_loaded = [...]; public $defaultPriority = 10 }; public $viewClass = 'View'; public $View = NULL; public $ext = '.ctp'; public $plugin = NULL; public $passedArgs = []; public $scaffold = FALSE; public $methods = [0 => 'index', 1 => 'display', 2 => 'events', 3 => 'news', 5 => 'getParams', 6 => 'renderPage', 7 => 'detail_map', 8 => 'jslog', 9 => 'toSef', 10 => 'verify_recaptcha']; public $modelClass = 'Event'; public $modelKey = 'rss'; public $validationErrors = NULL; protected $_mergeParent = 'AppController'; protected $_eventManager = class CakeEventManager { protected $_listeners = [...]; protected $_isGlobal = FALSE }; public $Session = class SessionComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Params = class ParamsComponent { public $data = [...]; public $components = [...]; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $Session = class SessionComponent { ... }; public $searchdate = '' }; public $Markup = class MarkupComponent { public $hostname = ''; public $default_image = 'https://cdn-p300.americantowns.com/img/generic-icon.jpg'; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Events = class EventsComponent { public $Event = class Event { ... }; public $params = [...]; public $defaultRadius = NULL; public $components = [...]; public $controller = ...; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $EventCache = class EventCache { ... }; public $EventRadiusCache = class EventRadiusCache { ... } }; public $Modules = class ModulesComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] } }</span>, <span>$args = </span><span>[]</span> )</td><td title='/var/www/vhosts/devel1/project300/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.0164</td><td bgcolor='#eeeeec' align='right'>3726512</td><td bgcolor='#eeeeec'>RssController->events( )</td><td title='/var/www/vhosts/devel1/project300/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.2405</td><td bgcolor='#eeeeec' align='right'>3805648</td><td bgcolor='#eeeeec'>EventsComponent->search( <span>$params = </span><span>['keyword' => '', 'radius' => NULL, 'limit' => 15, 'page' => 1, 'sef' => '', 'tags' => '', 'tags_logical' => '', 'terms' => '', 'show' => 15, 'show_limit' => 3, 'sort' => '', 'days' => '', 'images' => TRUE, 'max-days' => 365, 'max-miles' => 45, 'message' => '[message to follow]', 'min' => 50, 'title' => '', 'prompt' => '', 'height' => '', 'width' => '', 'data_id' => '', 'more' => TRUE, 'type' => '', 'autoshowmore' => FALSE, 'link' => '', 'showdesc' => '', 'rankby' => '', 'empty-message' => '', 'ad_slots' => '', 'see-more-title' => '', 'searchdate' => '', 'searchenddate' => '', 'lat' => 42.646999359131, 'lng' => -83.049697875977, 'latlng' => '42.646999359131,-83.049697875977', 'city' => 'Shelby Twp', 'state' => 'MI', 'theme' => '', 'page_type' => NULL]</span> )</td><td title='/var/www/vhosts/devel1/project300/app/Controller/RssController.php' bgcolor='#eeeeec'>.../RssController.php<b>:</b>33</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.2470</td><td bgcolor='#eeeeec' align='right'>4989128</td><td bgcolor='#eeeeec'>Event->defaultRadius( <span>$tags = </span><span>''</span> )</td><td title='/var/www/vhosts/devel1/project300/app/Plugin/Core/Controller/Component/EventsComponent.php' bgcolor='#eeeeec'>.../EventsComponent.php<b>:</b>42</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.3294</td><td bgcolor='#eeeeec' align='right'>5621120</td><td bgcolor='#eeeeec'>Model->save( <span>$data = </span><span>['_id' => 'f649280dec98ac9a7a7d39f98acdbf8f', 'radius' => 15]</span>, <span>$validate = </span>???, <span>$fieldList = </span>??? )</td><td title='/var/www/vhosts/devel1/project300/app/Plugin/Core/Model/Event.php' bgcolor='#eeeeec'>.../Event.php<b>:</b>82</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.3294</td><td bgcolor='#eeeeec' align='right'>5621496</td><td bgcolor='#eeeeec'>Model->_doSave( <span>$data = </span><span>['_id' => 'f649280dec98ac9a7a7d39f98acdbf8f', 'radius' => 15]</span>, <span>$options = </span><span>['validate' => TRUE, 'fieldList' => [], 'callbacks' => TRUE, 'counterCache' => TRUE, 'atomic' => TRUE]</span> )</td><td title='/var/www/vhosts/devel1/project300/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.3329</td><td bgcolor='#eeeeec' align='right'>5824520</td><td bgcolor='#eeeeec'>MongodbSource->create( <span>$Model = </span><span>class EventRadiusCache { public $primaryKey = '_id'; public $useDbConfig = 'mongo'; public $useTable = 'events_radius_cache'; public $displayField = *uninitialized*; public $id = FALSE; public $data = ['EventRadiusCache' => [...]]; public $schemaName = NULL; public $table = 'events_radius_cache'; protected $_schema = ['_id' => [...], 'created' => [...], 'modified' => [...], 'radius' => [...]]; public $validate = []; public $validationErrors = []; public $validationDomain = NULL; public $tablePrefix = ''; public $plugin = 'Core'; public $name = 'EventRadiusCache'; public $alias = 'EventRadiusCache'; public $tableToModel = ['events_radius_cache' => 'EventRadiusCache']; public $cacheQueries = FALSE; public $belongsTo = []; public $hasOne = []; public $hasMany = []; public $hasAndBelongsToMany = []; public $actsAs = NULL; public $Behaviors = class BehaviorCollection { public $modelName = 'EventRadiusCache'; protected $_methods = [...]; protected $_mappedMethods = [...]; protected $_enabled = [...]; protected $_loaded = [...]; public $defaultPriority = 10 }; public $whitelist = []; public $cacheSources = FALSE; public $findQueryType = NULL; public $recursive = 1; public $order = NULL; public $virtualFields = []; protected $_associationKeys = ['belongsTo' => [...], 'hasOne' => [...], 'hasMany' => [...], 'hasAndBelongsToMany' => [...]]; protected $_associations = [0 => 'belongsTo', 1 => 'hasOne', 2 => 'hasMany', 3 => 'hasAndBelongsToMany']; public $__backAssociation = []; public $__backInnerAssociation = []; public $__backOriginalAssociation = []; public $__backContainableAssociation = []; public $__safeUpdateMode = FALSE; public $useConsistentAfterFind = TRUE; protected $_insertID = NULL; protected $_sourceConfigured = TRUE; public $findMethods = ['all' => TRUE, 'first' => TRUE, 'count' => TRUE, 'neighbors' => TRUE, 'list' => TRUE, 'threaded' => TRUE]; protected $_eventManager = class CakeEventManager { protected $_listeners = [...]; protected $_isGlobal = FALSE }; protected $_validator = class ModelValidator { protected $_fields = [...]; protected $_model = ...; protected $_validate = [...]; protected $_methods = [...]; protected $_modelMethods = [...]; protected $_behaviors = [...] } }</span>, <span>$fields = </span><span>[0 => '_id', 1 => 'radius', 2 => 'modified', 3 => 'created']</span>, <span>$values = </span><span>[0 => 'f649280dec98ac9a7a7d39f98acdbf8f', 1 => 15, 2 => class MongoDate { public $sec = 1766057177; public $usec = 823000 }, 3 => class MongoDate { public $sec = 1766057177; public $usec = 823000 }]</span> )</td><td title='/var/www/vhosts/devel1/project300/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.3329</td><td bgcolor='#eeeeec' align='right'>5825168</td><td bgcolor='#eeeeec'>MongoCollection->insert( <span>$a = </span><span>['_id' => 'f649280dec98ac9a7a7d39f98acdbf8f', 'radius' => 15, 'modified' => class MongoDate { public $sec = 1766057177; public $usec = 823000 }, 'created' => class MongoDate { public $sec = 1766057177; public $usec = 823000 }]</span>, <span>$options = </span><span>['safe' => TRUE]</span> )</td><td title='/var/www/vhosts/devel1/project300/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>500</td></tr>
'
[protected] message => 'E11000 duplicate key error collection: p300.events_radius_cache index: _id_ dup key: { _id: "f649280dec98ac9a7a7d39f98acdbf8f" }'
[protected] code => (int) 11000
[protected] file => '/var/www/vhosts/devel1/project300/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 508
Model::_doSave() - CORE/Cake/Model/Model.php, line 1942
Model::save() - CORE/Cake/Model/Model.php, line 1760
Event::defaultRadius() - APP/Plugin/Core/Model/Event.php, line 82
EventsComponent::search() - APP/Plugin/Core/Controller/Component/EventsComponent.php, line 42
RssController::events() - APP/Controller/RssController.php, line 33
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
[main] - APP/webroot/index.php, line 81 Notice (1024) : E11000 duplicate key error collection: p300.events_cache index: _id_ dup key: { _id: "fa9a56f552c468350b823aadb558e190" } [APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php , line 508 ]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]
),
'town_sef_url' => array(
[maximum depth reached]
),
'data_key' => array(
[maximum depth reached]
),
'sort_order' => 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 => 'town_sef_url',
(int) 2 => 'data_key',
(int) 3 => 'sort_order',
(int) 4 => 'params',
(int) 5 => 'modified',
(int) 6 => 'created'
)
$values = array(
(int) 0 => 'fa9a56f552c468350b823aadb558e190',
(int) 1 => 'shelby-twp-mi',
(int) 2 => array(
(int) 0 => '68a75b6003a70639b6cf1326',
(int) 1 => '693321024389be6be56537f5',
(int) 2 => '693321024389be6be5653859',
(int) 3 => '68a75b6103a70639b6cf19e2',
(int) 4 => '68a75b6203a70639b6cf1f2e',
(int) 5 => '68a75b6403a70639b6cf27be',
(int) 6 => '693321034389be6be5653eca',
(int) 7 => '68a75b6403a70639b6cf29c7',
(int) 8 => '68a75b6403a70639b6cf2afc',
(int) 9 => '68a75b6503a70639b6cf32a3',
(int) 10 => '68a75b6603a70639b6cf34e7',
(int) 11 => '68a75b6603a70639b6cf3837',
(int) 12 => '68a75b6703a70639b6cf3c00',
(int) 13 => '68a75b6703a70639b6cf3d19',
(int) 14 => '693321054389be6be5654b64'
),
(int) 3 => array(
'start' => (int) 1
),
(int) 4 => '{"keyword":"","radius":15,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":"","images":true,"max-days":365,"max-miles":45,"message":"[message to follow]","min":50,"title":"","prompt":"","height":"","width":"","data_id":"","more":true,"type":"","autoshowmore":false,"link":"","showdesc":"","rankby":"","empty-message":"","ad_slots":"","see-more-title":"","searchdate":"","searchenddate":"","lat":42.64699935913086,"lng":-83.04969787597656,"latlng":"42.646999359131,-83.049697875977","city":"Shelby Twp","state":"MI","theme":"","page_type":null,"has_next_page":true}',
(int) 5 => object(MongoDate) {
sec => (int) 1766057178
usec => (int) 28000
},
(int) 6 => object(MongoDate) {
sec => (int) 1766057178
usec => (int) 28000
}
)
$data = array(
'_id' => 'fa9a56f552c468350b823aadb558e190',
'town_sef_url' => 'shelby-twp-mi',
'data_key' => array(
(int) 0 => '68a75b6003a70639b6cf1326',
(int) 1 => '693321024389be6be56537f5',
(int) 2 => '693321024389be6be5653859',
(int) 3 => '68a75b6103a70639b6cf19e2',
(int) 4 => '68a75b6203a70639b6cf1f2e',
(int) 5 => '68a75b6403a70639b6cf27be',
(int) 6 => '693321034389be6be5653eca',
(int) 7 => '68a75b6403a70639b6cf29c7',
(int) 8 => '68a75b6403a70639b6cf2afc',
(int) 9 => '68a75b6503a70639b6cf32a3',
(int) 10 => '68a75b6603a70639b6cf34e7',
(int) 11 => '68a75b6603a70639b6cf3837',
(int) 12 => '68a75b6703a70639b6cf3c00',
(int) 13 => '68a75b6703a70639b6cf3d19',
(int) 14 => '693321054389be6be5654b64'
),
'sort_order' => array(
'start' => (int) 1
),
'params' => '{"keyword":"","radius":15,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":"","images":true,"max-days":365,"max-miles":45,"message":"[message to follow]","min":50,"title":"","prompt":"","height":"","width":"","data_id":"","more":true,"type":"","autoshowmore":false,"link":"","showdesc":"","rankby":"","empty-message":"","ad_slots":"","see-more-title":"","searchdate":"","searchenddate":"","lat":42.64699935913086,"lng":-83.04969787597656,"latlng":"42.646999359131,-83.049697875977","city":"Shelby Twp","state":"MI","theme":"","page_type":null,"has_next_page":true}',
'modified' => object(MongoDate) {
sec => (int) 1766057178
usec => (int) 28000
},
'created' => object(MongoDate) {
sec => (int) 1766057178
usec => (int) 28000
}
)
$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: p300.events_cache index: _id_ dup key: { _id: "fa9a56f552c468350b823aadb558e190" } in /var/www/vhosts/devel1/project300/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.0002</td><td bgcolor='#eeeeec' align='right'>414984</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/devel1/project300/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.0115</td><td bgcolor='#eeeeec' align='right'>2829224</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( <span>$request = </span><span>class CakeRequest { public $params = ['plugin' => NULL, 'controller' => 'rss', 'action' => 'events', 'named' => [...], 'pass' => [...], 'city' => 'shelby-twp', 'state' => 'mi', 'type' => 'town']; public $data = []; public $query = []; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = ['get' => [...], 'patch' => [...], 'post' => [...], 'put' => [...], 'delete' => [...], 'head' => [...], 'options' => [...], 'ssl' => [...], 'ajax' => [...], 'flash' => [...], 'mobile' => [...], 'requested' => [...], 'json' => [...], 'xml' => [...]]; protected $_input = '' }</span>, <span>$response = </span><span>class CakeResponse { protected $_statusCodes = [100 => 'Continue', 101 => 'Switching Protocols', 200 => 'OK', 201 => 'Created', 202 => 'Accepted', 203 => 'Non-Authoritative Information', 204 => 'No Content', 205 => 'Reset Content', 206 => 'Partial Content', 300 => 'Multiple Choices', 301 => 'Moved Permanently', 302 => 'Found', 303 => 'See Other', 304 => 'Not Modified', 305 => 'Use Proxy', 307 => 'Temporary Redirect', 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required', 403 => 'Forbidden', 404 => 'Not Found', 405 => 'Method Not Allowed', 406 => 'Not Acceptable', 407 => 'Proxy Authentication Required', 408 => 'Request Time-out', 409 => 'Conflict', 410 => 'Gone', 411 => 'Length Required', 412 => 'Precondition Failed', 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Large', 415 => 'Unsupported Media Type', 416 => 'Requested range not satisfiable', 417 => 'Expectation Failed', 429 => 'Too Many Requests', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway', 503 => 'Service Unavailable', 504 => 'Gateway Time-out', 505 => 'Unsupported Version']; protected $_mimeTypes = ['html' => [...], 'json' => 'application/json', 'xml' => [...], 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => [...], 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', ...]; protected $_protocol = 'HTTP/1.1'; protected $_status = 200; protected $_contentType = 'text/html'; protected $_headers = []; protected $_body = NULL; protected $_file = NULL; protected $_fileRange = NULL; protected $_charset = 'UTF-8'; protected $_cacheDirectives = []; protected $_cookies = [] }</span>, <span>$additionalParams = </span>??? )</td><td title='/var/www/vhosts/devel1/project300/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>81</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0149</td><td bgcolor='#eeeeec' align='right'>3465072</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( <span>$controller = </span><span>class RssController { public $uses = [0 => 'Event', 1 => 'Article', 2 => 'News', 3 => 'County', 4 => 'Page', 5 => 'Site', 6 => 'Module', 7 => 'DefaultToken', 8 => 'Announcement', 9 => 'BrandCategory', 10 => 'State']; public $components = ['Session' => NULL, 'Params' => NULL, 'Markup' => NULL, 'Core.Events' => NULL, 'Core.Modules' => NULL]; public $helpers = [0 => 'Cache']; public $paginate = FALSE; public $cacheAction = TRUE; public $pagelimit = 10; public $theme = ''; public $name = 'Rss'; public $request = class CakeRequest { public $params = [...]; public $data = [...]; public $query = [...]; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = [...]; protected $_input = '' }; public $response = class CakeResponse { protected $_statusCodes = [...]; protected $_mimeTypes = [...]; protected $_protocol = 'HTTP/1.1'; protected $_status = 200; protected $_contentType = 'text/html'; protected $_headers = [...]; protected $_body = NULL; protected $_file = NULL; protected $_fileRange = NULL; protected $_charset = 'UTF-8'; protected $_cacheDirectives = [...]; protected $_cookies = [...] }; protected $_responseClass = 'CakeResponse'; public $viewPath = 'Rss'; public $layoutPath = NULL; public $viewVars = []; public $view = 'events'; public $layout = 'p300'; public $autoRender = TRUE; public $autoLayout = TRUE; public $Components = class ComponentCollection { protected $_Controller = ...; protected $_enabled = [...]; protected $_loaded = [...]; public $defaultPriority = 10 }; public $viewClass = 'View'; public $View = NULL; public $ext = '.ctp'; public $plugin = NULL; public $passedArgs = []; public $scaffold = FALSE; public $methods = [0 => 'index', 1 => 'display', 2 => 'events', 3 => 'news', 5 => 'getParams', 6 => 'renderPage', 7 => 'detail_map', 8 => 'jslog', 9 => 'toSef', 10 => 'verify_recaptcha']; public $modelClass = 'Event'; public $modelKey = 'rss'; public $validationErrors = NULL; protected $_mergeParent = 'AppController'; protected $_eventManager = class CakeEventManager { protected $_listeners = [...]; protected $_isGlobal = FALSE }; public $Session = class SessionComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Params = class ParamsComponent { public $data = [...]; public $components = [...]; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $Session = class SessionComponent { ... }; public $searchdate = '' }; public $Markup = class MarkupComponent { public $hostname = ''; public $default_image = 'https://cdn-p300.americantowns.com/img/generic-icon.jpg'; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Events = class EventsComponent { public $Event = class Event { ... }; public $params = [...]; public $defaultRadius = NULL; public $components = [...]; public $controller = ...; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $EventCache = class EventCache { ... }; public $EventRadiusCache = class EventRadiusCache { ... } }; public $Modules = class ModulesComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] } }</span>, <span>$request = </span><span>class CakeRequest { public $params = ['plugin' => NULL, 'controller' => 'rss', 'action' => 'events', 'named' => [...], 'pass' => [...], 'city' => 'shelby-twp', 'state' => 'mi', 'type' => 'town']; public $data = []; public $query = []; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = ['get' => [...], 'patch' => [...], 'post' => [...], 'put' => [...], 'delete' => [...], 'head' => [...], 'options' => [...], 'ssl' => [...], 'ajax' => [...], 'flash' => [...], 'mobile' => [...], 'requested' => [...], 'json' => [...], 'xml' => [...]]; protected $_input = '' }</span> )</td><td title='/var/www/vhosts/devel1/project300/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.0164</td><td bgcolor='#eeeeec' align='right'>3726328</td><td bgcolor='#eeeeec'>Controller->invokeAction( <span>$request = </span><span>class CakeRequest { public $params = ['plugin' => NULL, 'controller' => 'rss', 'action' => 'events', 'named' => [...], 'pass' => [...], 'city' => 'shelby-twp', 'state' => 'mi', 'type' => 'town']; public $data = []; public $query = []; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = ['get' => [...], 'patch' => [...], 'post' => [...], 'put' => [...], 'delete' => [...], 'head' => [...], 'options' => [...], 'ssl' => [...], 'ajax' => [...], 'flash' => [...], 'mobile' => [...], 'requested' => [...], 'json' => [...], 'xml' => [...]]; protected $_input = '' }</span> )</td><td title='/var/www/vhosts/devel1/project300/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.0164</td><td bgcolor='#eeeeec' align='right'>3726440</td><td bgcolor='#eeeeec'><a href='http://php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a>( <span>$object = </span><span>class RssController { public $uses = [0 => 'Event', 1 => 'Article', 2 => 'News', 3 => 'County', 4 => 'Page', 5 => 'Site', 6 => 'Module', 7 => 'DefaultToken', 8 => 'Announcement', 9 => 'BrandCategory', 10 => 'State']; public $components = ['Session' => NULL, 'Params' => NULL, 'Markup' => NULL, 'Core.Events' => NULL, 'Core.Modules' => NULL]; public $helpers = [0 => 'Cache']; public $paginate = FALSE; public $cacheAction = TRUE; public $pagelimit = 10; public $theme = ''; public $name = 'Rss'; public $request = class CakeRequest { public $params = [...]; public $data = [...]; public $query = [...]; public $url = 'shelby-twp-mi/rss/events/'; public $base = ''; public $webroot = '/'; public $here = '/shelby-twp-mi/rss/events/'; protected $_detectors = [...]; protected $_input = '' }; public $response = class CakeResponse { protected $_statusCodes = [...]; protected $_mimeTypes = [...]; protected $_protocol = 'HTTP/1.1'; protected $_status = 200; protected $_contentType = 'text/html'; protected $_headers = [...]; protected $_body = NULL; protected $_file = NULL; protected $_fileRange = NULL; protected $_charset = 'UTF-8'; protected $_cacheDirectives = [...]; protected $_cookies = [...] }; protected $_responseClass = 'CakeResponse'; public $viewPath = 'Rss'; public $layoutPath = NULL; public $viewVars = []; public $view = 'events'; public $layout = 'p300'; public $autoRender = TRUE; public $autoLayout = TRUE; public $Components = class ComponentCollection { protected $_Controller = ...; protected $_enabled = [...]; protected $_loaded = [...]; public $defaultPriority = 10 }; public $viewClass = 'View'; public $View = NULL; public $ext = '.ctp'; public $plugin = NULL; public $passedArgs = []; public $scaffold = FALSE; public $methods = [0 => 'index', 1 => 'display', 2 => 'events', 3 => 'news', 5 => 'getParams', 6 => 'renderPage', 7 => 'detail_map', 8 => 'jslog', 9 => 'toSef', 10 => 'verify_recaptcha']; public $modelClass = 'Event'; public $modelKey = 'rss'; public $validationErrors = NULL; protected $_mergeParent = 'AppController'; protected $_eventManager = class CakeEventManager { protected $_listeners = [...]; protected $_isGlobal = FALSE }; public $Session = class SessionComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Params = class ParamsComponent { public $data = [...]; public $components = [...]; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $Session = class SessionComponent { ... }; public $searchdate = '' }; public $Markup = class MarkupComponent { public $hostname = ''; public $default_image = 'https://cdn-p300.americantowns.com/img/generic-icon.jpg'; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] }; public $Events = class EventsComponent { public $Event = class Event { ... }; public $params = [...]; public $defaultRadius = NULL; public $components = [...]; public $controller = ...; protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; protected $_componentMap = [...]; public $EventCache = class EventCache { ... }; public $EventRadiusCache = class EventRadiusCache { ... } }; public $Modules = class ModulesComponent { protected $_Collection = class ComponentCollection { ... }; public $settings = [...]; public $components = [...]; protected $_componentMap = [...] } }</span>, <span>$args = </span><span>[]</span> )</td><td title='/var/www/vhosts/devel1/project300/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.0164</td><td bgcolor='#eeeeec' align='right'>3726512</td><td bgcolor='#eeeeec'>RssController->events( )</td><td title='/var/www/vhosts/devel1/project300/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.2405</td><td bgcolor='#eeeeec' align='right'>3805648</td><td bgcolor='#eeeeec'>EventsComponent->search( <span>$params = </span><span>['keyword' => '', 'radius' => NULL, 'limit' => 15, 'page' => 1, 'sef' => '', 'tags' => '', 'tags_logical' => '', 'terms' => '', 'show' => 15, 'show_limit' => 3, 'sort' => '', 'days' => '', 'images' => TRUE, 'max-days' => 365, 'max-miles' => 45, 'message' => '[message to follow]', 'min' => 50, 'title' => '', 'prompt' => '', 'height' => '', 'width' => '', 'data_id' => '', 'more' => TRUE, 'type' => '', 'autoshowmore' => FALSE, 'link' => '', 'showdesc' => '', 'rankby' => '', 'empty-message' => '', 'ad_slots' => '', 'see-more-title' => '', 'searchdate' => '', 'searchenddate' => '', 'lat' => 42.646999359131, 'lng' => -83.049697875977, 'latlng' => '42.646999359131,-83.049697875977', 'city' => 'Shelby Twp', 'state' => 'MI', 'theme' => '', 'page_type' => NULL]</span> )</td><td title='/var/www/vhosts/devel1/project300/app/Controller/RssController.php' bgcolor='#eeeeec'>.../RssController.php<b>:</b>33</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.5345</td><td bgcolor='#eeeeec' align='right'>6025616</td><td bgcolor='#eeeeec'>Model->save( <span>$data = </span><span>['_id' => 'fa9a56f552c468350b823aadb558e190', 'town_sef_url' => 'shelby-twp-mi', 'data_key' => [0 => '68a75b6003a70639b6cf1326', 1 => '693321024389be6be56537f5', 2 => '693321024389be6be5653859', 3 => '68a75b6103a70639b6cf19e2', 4 => '68a75b6203a70639b6cf1f2e', 5 => '68a75b6403a70639b6cf27be', 6 => '693321034389be6be5653eca', 7 => '68a75b6403a70639b6cf29c7', 8 => '68a75b6403a70639b6cf2afc', 9 => '68a75b6503a70639b6cf32a3', 10 => '68a75b6603a70639b6cf34e7', 11 => '68a75b6603a70639b6cf3837', 12 => '68a75b6703a70639b6cf3c00', 13 => '68a75b6703a70639b6cf3d19', 14 => '693321054389be6be5654b64'], 'sort_order' => ['start' => 1], 'params' => '{"keyword":"","radius":15,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":"","images":true,"max-days":365,"max-miles":45,"message":"[message to follow]","min":50,"title":"","prompt":"","height":"","width":"","data_id":"","more":true,"type":"","autoshowmore":false,"link":"","showdesc":"","rankby":"","empty-message":"","ad_slots":"","see-more-title":"","searchdate":"","searchenddate":"","lat":42.64699935913086,"lng":-83.04969787597656,"latlng":"42.'...]</span>, <span>$validate = </span>???, <span>$fieldList = </span>??? )</td><td title='/var/www/vhosts/devel1/project300/app/Plugin/Core/Controller/Component/EventsComponent.php' bgcolor='#eeeeec'>.../EventsComponent.php<b>:</b>54</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.5346</td><td bgcolor='#eeeeec' align='right'>6025992</td><td bgcolor='#eeeeec'>Model->_doSave( <span>$data = </span><span>['_id' => 'fa9a56f552c468350b823aadb558e190', 'town_sef_url' => 'shelby-twp-mi', 'data_key' => [0 => '68a75b6003a70639b6cf1326', 1 => '693321024389be6be56537f5', 2 => '693321024389be6be5653859', 3 => '68a75b6103a70639b6cf19e2', 4 => '68a75b6203a70639b6cf1f2e', 5 => '68a75b6403a70639b6cf27be', 6 => '693321034389be6be5653eca', 7 => '68a75b6403a70639b6cf29c7', 8 => '68a75b6403a70639b6cf2afc', 9 => '68a75b6503a70639b6cf32a3', 10 => '68a75b6603a70639b6cf34e7', 11 => '68a75b6603a70639b6cf3837', 12 => '68a75b6703a70639b6cf3c00', 13 => '68a75b6703a70639b6cf3d19', 14 => '693321054389be6be5654b64'], 'sort_order' => ['start' => 1], 'params' => '{"keyword":"","radius":15,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":"","images":true,"max-days":365,"max-miles":45,"message":"[message to follow]","min":50,"title":"","prompt":"","height":"","width":"","data_id":"","more":true,"type":"","autoshowmore":false,"link":"","showdesc":"","rankby":"","empty-message":"","ad_slots":"","see-more-title":"","searchdate":"","searchenddate":"","lat":42.64699935913086,"lng":-83.04969787597656,"latlng":"42.'...]</span>, <span>$options = </span><span>['validate' => TRUE, 'fieldList' => [], 'callbacks' => TRUE, 'counterCache' => TRUE, 'atomic' => TRUE]</span> )</td><td title='/var/www/vhosts/devel1/project300/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.5380</td><td bgcolor='#eeeeec' align='right'>6086176</td><td bgcolor='#eeeeec'>MongodbSource->create( <span>$Model = </span><span>class EventCache { public $primaryKey = '_id'; public $useDbConfig = 'mongo'; public $useTable = 'events_cache'; public $displayField = *uninitialized*; public $id = FALSE; public $data = ['EventCache' => [...]]; public $schemaName = NULL; public $table = 'events_cache'; protected $_schema = ['_id' => [...], 'created' => [...], 'modified' => [...], 'town_sef_url' => [...], 'data_key' => [...], 'sort_order' => [...], 'params' => [...]]; public $validate = []; public $validationErrors = []; public $validationDomain = NULL; public $tablePrefix = ''; public $plugin = 'Core'; public $name = 'EventCache'; public $alias = 'EventCache'; public $tableToModel = ['events_cache' => 'EventCache']; public $cacheQueries = FALSE; public $belongsTo = []; public $hasOne = []; public $hasMany = []; public $hasAndBelongsToMany = []; public $actsAs = NULL; public $Behaviors = class BehaviorCollection { public $modelName = 'EventCache'; protected $_methods = [...]; protected $_mappedMethods = [...]; protected $_enabled = [...]; protected $_loaded = [...]; public $defaultPriority = 10 }; public $whitelist = []; public $cacheSources = FALSE; public $findQueryType = NULL; public $recursive = 1; public $order = NULL; public $virtualFields = []; protected $_associationKeys = ['belongsTo' => [...], 'hasOne' => [...], 'hasMany' => [...], 'hasAndBelongsToMany' => [...]]; protected $_associations = [0 => 'belongsTo', 1 => 'hasOne', 2 => 'hasMany', 3 => 'hasAndBelongsToMany']; public $__backAssociation = []; public $__backInnerAssociation = []; public $__backOriginalAssociation = []; public $__backContainableAssociation = []; public $__safeUpdateMode = FALSE; public $useConsistentAfterFind = TRUE; protected $_insertID = NULL; protected $_sourceConfigured = TRUE; public $findMethods = ['all' => TRUE, 'first' => TRUE, 'count' => TRUE, 'neighbors' => TRUE, 'list' => TRUE, 'threaded' => TRUE]; protected $_eventManager = class CakeEventManager { protected $_listeners = [...]; protected $_isGlobal = FALSE }; protected $_validator = class ModelValidator { protected $_fields = [...]; protected $_model = ...; protected $_validate = [...]; protected $_methods = [...]; protected $_modelMethods = [...]; protected $_behaviors = [...] } }</span>, <span>$fields = </span><span>[0 => '_id', 1 => 'town_sef_url', 2 => 'data_key', 3 => 'sort_order', 4 => 'params', 5 => 'modified', 6 => 'created']</span>, <span>$values = </span><span>[0 => 'fa9a56f552c468350b823aadb558e190', 1 => 'shelby-twp-mi', 2 => [0 => '68a75b6003a70639b6cf1326', 1 => '693321024389be6be56537f5', 2 => '693321024389be6be5653859', 3 => '68a75b6103a70639b6cf19e2', 4 => '68a75b6203a70639b6cf1f2e', 5 => '68a75b6403a70639b6cf27be', 6 => '693321034389be6be5653eca', 7 => '68a75b6403a70639b6cf29c7', 8 => '68a75b6403a70639b6cf2afc', 9 => '68a75b6503a70639b6cf32a3', 10 => '68a75b6603a70639b6cf34e7', 11 => '68a75b6603a70639b6cf3837', 12 => '68a75b6703a70639b6cf3c00', 13 => '68a75b6703a70639b6cf3d19', 14 => '693321054389be6be5654b64'], 3 => ['start' => 1], 4 => '{"keyword":"","radius":15,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":"","images":true,"max-days":365,"max-miles":45,"message":"[message to follow]","min":50,"title":"","prompt":"","height":"","width":"","data_id":"","more":true,"type":"","autoshowmore":false,"link":"","showdesc":"","rankby":"","empty-message":"","ad_slots":"","see-more-title":"","searchdate":"","searchenddate":"","lat":42.64699935913086,"lng":-83.04969787597656,"latlng":"42.'..., 5 => class MongoDate { public $sec = 1766057178; public $usec = 28000 }, 6 => class MongoDate { public $sec = 1766057178; public $usec = 28000 }]</span> )</td><td title='/var/www/vhosts/devel1/project300/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.5380</td><td bgcolor='#eeeeec' align='right'>6086824</td><td bgcolor='#eeeeec'>MongoCollection->insert( <span>$a = </span><span>['_id' => 'fa9a56f552c468350b823aadb558e190', 'town_sef_url' => 'shelby-twp-mi', 'data_key' => [0 => '68a75b6003a70639b6cf1326', 1 => '693321024389be6be56537f5', 2 => '693321024389be6be5653859', 3 => '68a75b6103a70639b6cf19e2', 4 => '68a75b6203a70639b6cf1f2e', 5 => '68a75b6403a70639b6cf27be', 6 => '693321034389be6be5653eca', 7 => '68a75b6403a70639b6cf29c7', 8 => '68a75b6403a70639b6cf2afc', 9 => '68a75b6503a70639b6cf32a3', 10 => '68a75b6603a70639b6cf34e7', 11 => '68a75b6603a70639b6cf3837', 12 => '68a75b6703a70639b6cf3c00', 13 => '68a75b6703a70639b6cf3d19', 14 => '693321054389be6be5654b64'], 'sort_order' => ['start' => 1], 'params' => '{"keyword":"","radius":15,"limit":15,"page":1,"sef":"","tags":"","tags_logical":"","terms":"","show":15,"show_limit":3,"sort":"","days":"","images":true,"max-days":365,"max-miles":45,"message":"[message to follow]","min":50,"title":"","prompt":"","height":"","width":"","data_id":"","more":true,"type":"","autoshowmore":false,"link":"","showdesc":"","rankby":"","empty-message":"","ad_slots":"","see-more-title":"","searchdate":"","searchenddate":"","lat":42.64699935913086,"lng":-83.04969787597656,"latlng":"42.'..., 'modified' => class MongoDate { public $sec = 1766057178; public $usec = 28000 }, 'created' => class MongoDate { public $sec = 1766057178; public $usec = 28000 }]</span>, <span>$options = </span><span>['safe' => TRUE]</span> )</td><td title='/var/www/vhosts/devel1/project300/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>500</td></tr>
'
[protected] message => 'E11000 duplicate key error collection: p300.events_cache index: _id_ dup key: { _id: "fa9a56f552c468350b823aadb558e190" }'
[protected] code => (int) 11000
[protected] file => '/var/www/vhosts/devel1/project300/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 508
Model::_doSave() - CORE/Cake/Model/Model.php, line 1942
Model::save() - CORE/Cake/Model/Model.php, line 1760
EventsComponent::search() - APP/Plugin/Core/Controller/Component/EventsComponent.php, line 54
RssController::events() - APP/Controller/RssController.php, line 33
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
[main] - APP/webroot/index.php, line 81 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/devel1/project300/lib/Cake/Utility/Debugger.php:797) [APP/View/Rss/events.ctp , line 4 ]Code Context $tconvert = new TextConverter ;
App :: uses ( 'RSSWriter' , 'Vendor' );
header ( "Content-Type: text/xml; charset=utf-8;" ); $viewFile = '/var/www/vhosts/devel1/project300/app/View/Rss/events.ctp'
$dataForView = array(
'ctown' => array(
'_id' => '6555510dc93854a8ac0c0063',
'city' => 'Shelby Twp',
'county' => 'Macomb',
'state' => 'MI',
'full_state' => 'Michigan',
'geo' => array(
(int) 0 => (float) -83.049697875977,
(int) 1 => (float) 42.646999359131
),
'latitude' => (float) 42.646999359131,
'longitude' => (float) -83.049697875977,
'city_state' => 'Shelby Twp, MI',
'city_state_search' => 'Shelby Twp MI Shelby Twp Michigan',
'term' => 'in Shelby Twp',
'title' => 'Shelby Twp, MI',
'type' => 'town',
'zip' => '48317',
'sef_url' => 'shelby-twp-mi',
'county_sef_url' => 'macomb-county-mi',
'state_sef_url' => 'mi',
'americantowns_url' => 'https://www.americantowns.com/shelby-twp-mi/',
'zipcodes' => array(
(int) 0 => '48317'
),
'town_ids' => array(
(int) 0 => '48782'
),
'health-dept-twitter' => '<a class="twitter-timeline" href="https://twitter.com/MichiganHHS?ref_src=twsrc%5Etfw">Tweets by MichiganHHS</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>',
'health-dept-links' => 'https://www.michigan.gov/mdhhs',
'health-dept-name' => 'Michigan Department of Health and Human Services',
'cv_total_state_new' => '1953',
'cv_total_state' => '12744',
'state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/michigan/renting/hawebsites" target="_blank">Shelby Twp, MI area Housing Authority</a> on the Michigan HUD website.',
'ab_cv_state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/michigan/renting/hawebsites" target="_blank">Shelby Twp, MI area Housing Authority</a> on the Michigan HUD website.',
'cv_total_state_deaths' => '43,054',
'lhr_state_compost_link' => 'https://www.compostingcouncil.org/page/StateRegulations#michigan',
'lhr_state_trash_ton' => '62.4',
'lhr_state_waste_rank' => '1',
'lhr_june_temp' => '80 degrees',
'lhr_state_haz_waste_link' => 'https://www.michigan.gov/egle/0,9429,7-135-3312_4118-70304--,00.html',
'election_polling_times' => '7 am to 8 pm',
'election_polling_places_links' => 'https://mvic.sos.state.mi.us/Voter/Index',
'bt-fif-ski-resort' => 'y',
'bt-fif-cross-country-skiing' => 'y',
'fif_arcades' => '<li><a href="/arcades/">Arcades</a></li>',
' at-gas-avg-mid' => '$4.559',
'at-gas-avg-premium' => '$4.657',
'at-gas-avg-diesel' => '$4.388',
'cv_total_state_cases' => '3,113,598',
'political_ql_dem_local_party' => 'https://michigandems.com/county-chairs/',
'political_ql_dem_state_party' => 'https://michigandems.com',
'political_ql_voter_reg' => 'https://mvic.sos.state.mi.us/Home/RegisterToVote',
'political_registered_count_dem' => '3,800,000',
'political_registered_count_rep' => '2,751,000',
'political_ql_rep_local_party' => 'https://migop.org/about/',
'political_ql_rep_state_party' => 'http://www.migop.org/',
'political_registered_count' => 'y',
'political_registered_count_approx' => 'y',
'political_registered_count_estimated' => 'y',
' bt-fif-apple' => 'y',
' bt-fif-corn-maze' => 'y',
'at-political_registered_count' => '8,091,176',
'at_political_registered_count' => '8,091,176',
'at-gas-avg-mid' => '$4.166',
'at-gas-avg-reg' => '$3.631',
'bt-fif-pumpkin' => 'y',
'at-ski-resort' => 'y',
'at-corn-maze' => 'y',
'at-gas-price-1-location' => '<div class="gpr_name">BP</div><div class="gpr_address">32889 WARREN RD, Garden City, MI</div>',
'at-gas-price-2-location' => '<div class="gpr_name">BP</div><div class="gpr_address">22096 MICHIGAN AVE, Dearborn, MI</div>',
'at-gas-price-1-reg' => '$2.99',
'at-gas-price-2-reg' => '$3.07',
'at-gas-price-2-mid' => '$4.59',
'at-gas-price-2-premium' => '$4.99',
'at-gas-price-2-diesel' => '$4.79',
'nearby' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
)
)
)
)
$ctown = array(
'_id' => '6555510dc93854a8ac0c0063',
'city' => 'Shelby Twp',
'county' => 'Macomb',
'state' => 'MI',
'full_state' => 'Michigan',
'geo' => array(
(int) 0 => (float) -83.049697875977,
(int) 1 => (float) 42.646999359131
),
'latitude' => (float) 42.646999359131,
'longitude' => (float) -83.049697875977,
'city_state' => 'Shelby Twp, MI',
'city_state_search' => 'Shelby Twp MI Shelby Twp Michigan',
'term' => 'in Shelby Twp',
'title' => 'Shelby Twp, MI',
'type' => 'town',
'zip' => '48317',
'sef_url' => 'shelby-twp-mi',
'county_sef_url' => 'macomb-county-mi',
'state_sef_url' => 'mi',
'americantowns_url' => 'https://www.americantowns.com/shelby-twp-mi/',
'zipcodes' => array(
(int) 0 => '48317'
),
'town_ids' => array(
(int) 0 => '48782'
),
'health-dept-twitter' => '<a class="twitter-timeline" href="https://twitter.com/MichiganHHS?ref_src=twsrc%5Etfw">Tweets by MichiganHHS</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>',
'health-dept-links' => 'https://www.michigan.gov/mdhhs',
'health-dept-name' => 'Michigan Department of Health and Human Services',
'cv_total_state_new' => '1953',
'cv_total_state' => '12744',
'state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/michigan/renting/hawebsites" target="_blank">Shelby Twp, MI area Housing Authority</a> on the Michigan HUD website.',
'ab_cv_state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/michigan/renting/hawebsites" target="_blank">Shelby Twp, MI area Housing Authority</a> on the Michigan HUD website.',
'cv_total_state_deaths' => '43,054',
'lhr_state_compost_link' => 'https://www.compostingcouncil.org/page/StateRegulations#michigan',
'lhr_state_trash_ton' => '62.4',
'lhr_state_waste_rank' => '1',
'lhr_june_temp' => '80 degrees',
'lhr_state_haz_waste_link' => 'https://www.michigan.gov/egle/0,9429,7-135-3312_4118-70304--,00.html',
'election_polling_times' => '7 am to 8 pm',
'election_polling_places_links' => 'https://mvic.sos.state.mi.us/Voter/Index',
'bt-fif-ski-resort' => 'y',
'bt-fif-cross-country-skiing' => 'y',
'fif_arcades' => '<li><a href="/arcades/">Arcades</a></li>',
' at-gas-avg-mid' => '$4.559',
'at-gas-avg-premium' => '$4.657',
'at-gas-avg-diesel' => '$4.388',
'cv_total_state_cases' => '3,113,598',
'political_ql_dem_local_party' => 'https://michigandems.com/county-chairs/',
'political_ql_dem_state_party' => 'https://michigandems.com',
'political_ql_voter_reg' => 'https://mvic.sos.state.mi.us/Home/RegisterToVote',
'political_registered_count_dem' => '3,800,000',
'political_registered_count_rep' => '2,751,000',
'political_ql_rep_local_party' => 'https://migop.org/about/',
'political_ql_rep_state_party' => 'http://www.migop.org/',
'political_registered_count' => 'y',
'political_registered_count_approx' => 'y',
'political_registered_count_estimated' => 'y',
' bt-fif-apple' => 'y',
' bt-fif-corn-maze' => 'y',
'at-political_registered_count' => '8,091,176',
'at_political_registered_count' => '8,091,176',
'at-gas-avg-mid' => '$4.166',
'at-gas-avg-reg' => '$3.631',
'bt-fif-pumpkin' => 'y',
'at-ski-resort' => 'y',
'at-corn-maze' => 'y',
'at-gas-price-1-location' => '<div class="gpr_name">BP</div><div class="gpr_address">32889 WARREN RD, Garden City, MI</div>',
'at-gas-price-2-location' => '<div class="gpr_name">BP</div><div class="gpr_address">22096 MICHIGAN AVE, Dearborn, MI</div>',
'at-gas-price-1-reg' => '$2.99',
'at-gas-price-2-reg' => '$3.07',
'at-gas-price-2-mid' => '$4.59',
'at-gas-price-2-premium' => '$4.99',
'at-gas-price-2-diesel' => '$4.79',
'nearby' => array(
(int) 0 => array(
'city' => 'Shelby Township',
'state' => 'MI',
'sef_url' => 'shelby-township-mi'
),
(int) 1 => array(
'city' => 'Rochester',
'state' => 'MI',
'sef_url' => 'rochester-mi'
),
(int) 2 => array(
'city' => 'Rochester Hills',
'state' => 'MI',
'sef_url' => 'rochester-hills-mi'
),
(int) 3 => array(
'city' => 'Macomb',
'state' => 'MI',
'sef_url' => 'macomb-mi'
),
(int) 4 => array(
'city' => 'Clinton Twp',
'state' => 'MI',
'sef_url' => 'clinton-twp-mi'
),
(int) 5 => array(
'city' => 'Clinton',
'state' => 'MI',
'sef_url' => 'clinton-mi'
),
(int) 6 => array(
'city' => 'Oakland',
'state' => 'MI',
'sef_url' => 'oakland-mi'
),
(int) 7 => array(
'city' => 'Fraser',
'state' => 'MI',
'sef_url' => 'fraser-mi'
),
(int) 8 => array(
'city' => 'Mount Clemens',
'state' => 'MI',
'sef_url' => 'mount-clemens-mi'
),
(int) 9 => array(
'city' => 'Clawson',
'state' => 'MI',
'sef_url' => 'clawson-mi'
),
(int) 10 => array(
'city' => 'Clinton Township',
'state' => 'MI',
'sef_url' => 'clinton-township-mi'
),
(int) 11 => array(
'city' => 'Auburn Hills',
'state' => 'MI',
'sef_url' => 'auburn-hills-mi'
),
(int) 12 => array(
'city' => 'Ray',
'state' => 'MI',
'sef_url' => 'ray-mi'
),
(int) 13 => array(
'city' => 'Madison Heights',
'state' => 'MI',
'sef_url' => 'madison-heights-mi'
),
(int) 14 => array(
'city' => 'Bloomfield Hills',
'state' => 'MI',
'sef_url' => 'bloomfield-hills-mi'
)
)
)
$tconvert = object(TextConverter) {
} header - [internal], line ??
include - APP/View/Rss/events.ctp, line 4
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
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 81
Upcoming Events for Shelby Twp MI - AmericanTowns.com
AmericanTowns is a virtual "town square", connecting you to all the events and news happening in Shelby Twp Michigan. Whether it's town issues and community activism, or school calendars and sports schedules, AmericanTowns delivers the information faster and helps you use it better.
en-us
30
https://www.devel1.americantowns.com/shelby-twp-mi
Upcoming Events for Shelby Twp MI - AmericanTowns.com
https://www.devel1.americantowns.com/shelby-twp-mi
https://www.devel1.americantowns.com//images/atn_rss_logo.gif
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 18,2025: A Christmas Carol
7:00pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-18-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-18-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 19,2025: Little Donut Truck At The Village Of Rochester Hills
12:00pm: . Little Donut Truck At The Village Of Rochester Hills
https://www.devel1.americantowns.com/event/little-donut-truck-at-the-village-of-rochester-hills-2025-12-19-rochester-hills-mi.html
https://www.devel1.americantowns.com/event/little-donut-truck-at-the-village-of-rochester-hills-2025-12-19-rochester-hills-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 19,2025: Strolling Carolers
5:00pm: . Strolling Carolers
https://www.devel1.americantowns.com/event/strolling-carolers-2025-12-19-rochester-hills-mi.html
https://www.devel1.americantowns.com/event/strolling-carolers-2025-12-19-rochester-hills-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 19,2025: A Christmas Carol
7:00pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-19-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-19-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 20,2025: Royal Oak Farmers Market
7:00am: . Royal Oak Farmers Market
https://www.devel1.americantowns.com/event/royal-oak-farmers-market-2025-12-20-royal-oak-mi.html
https://www.devel1.americantowns.com/event/royal-oak-farmers-market-2025-12-20-royal-oak-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 20,2025: A Christmas Carol
2:00pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-20-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-20-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 20,2025: Strolling Carolers
3:00pm: . Strolling Carolers
https://www.devel1.americantowns.com/event/strolling-carolers-2025-12-20-rochester-hills-mi.html
https://www.devel1.americantowns.com/event/strolling-carolers-2025-12-20-rochester-hills-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 20,2025: A Christmas Carol
6:30pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-1-2025-12-20-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-1-2025-12-20-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 20,2025: Boys of Fall
7:00pm: The Loving Touch. Boys of Fall
https://www.devel1.americantowns.com/event/boys-of-fall-2025-12-20-tm-ferndale-mi.html
https://www.devel1.americantowns.com/event/boys-of-fall-2025-12-20-tm-ferndale-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 21,2025: A Christmas Carol
2:00pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-1-2025-12-21-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-1-2025-12-21-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 21,2025: A Christmas Carol
6:30pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-21-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-21-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 22,2025: A Christmas Carol
6:30pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-22-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-22-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 23,2025: A Christmas Carol
2:00pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-23-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-2025-12-23-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 23,2025: A Christmas Carol
6:30pm: Meadow Brook Theatre. A Christmas Carol
https://www.devel1.americantowns.com/event/a-christmas-carol-1-2025-12-23-tm-rochester-mi.html
https://www.devel1.americantowns.com/event/a-christmas-carol-1-2025-12-23-tm-rochester-mi.html
Thu, 18 Dec 2025 05:26:18 -0600
-
Dec 24,2025: Santa’s Coming to The Village! Enjoy Free Visits With Santa at The Village of Rochester Hills!
10:00am: . Santa’s Coming to The Village! Enjoy Free Visits With Santa at The Village of Rochester Hills!
https://www.devel1.americantowns.com/event/santas-coming-to-the-village-enjoy-free-visits-with-santa-at-the-village-of-rochester-hills-2025-12-24-rochester-hills-mi.html
https://www.devel1.americantowns.com/event/santas-coming-to-the-village-enjoy-free-visits-with-santa-at-the-village-of-rochester-hills-2025-12-24-rochester-hills-mi.html
Thu, 18 Dec 2025 05:26:18 -0600