Re: Viewing event in zmninja causes this error..
Posted: Thu Mar 22, 2018 5:22 pm
I see the same errors in mine:
Code: Select all
2018-03-22 09:14:19 Error: [ParseError] syntax error, unexpected ';', expecting ')'
Request URL: /zm/api/events/5739.json
Stack Trace:
#0 [internal function]: App::load('Group')
#1 [internal function]: spl_autoload_call('Group')
#2 /usr/share/zoneminder/www/api/lib/Cake/Utility/ClassRegistry.php(146): class_exists('Group')
#3 /usr/share/zoneminder/www/api/lib/Cake/Model/Model.php(1077): ClassRegistry::init('Group')
#4 /usr/share/zoneminder/www/api/lib/Cake/Model/Model.php(886): Model->_constructLinkedModel('Group', 'Group', NULL)
#5 /usr/share/zoneminder/www/api/lib/Cake/Model/Model.php(919): Model->__isset('Group')
#6 /usr/share/zoneminder/www/api/lib/Cake/Model/Datasource/DboSource.php(1132): Model->__get('Group')
#7 /usr/share/zoneminder/www/api/lib/Cake/Model/Model.php(3031): DboSource->read(Object(Event), Array)
#8 /usr/share/zoneminder/www/api/lib/Cake/Model/Model.php(3003): Model->_readDataSource('first', Array)
#9 /usr/share/zoneminder/www/api/app/Controller/EventsController.php(120): Model->find('first', Array)
#10 [internal function]: EventsController->view('5739')
#11 /usr/share/zoneminder/www/api/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#12 /usr/share/zoneminder/www/api/app/Plugin/Crud/Lib/CrudControllerTrait.php(31): Controller->invokeAction(Object(CakeRequest))
#13 /usr/share/zoneminder/www/api/lib/Cake/Routing/Dispatcher.php(193): AppController->invokeAction(Object(CakeRequest))
#14 /usr/share/zoneminder/www/api/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#15 /usr/share/zoneminder/www/api/app/webroot/index.php(107): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#16 {main}