Fatal error: Uncaught Error: Call to undefined function each() in /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php:2912
Stack trace:
#0 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php(1906): DboSource->order(Array, 'ASC', Object(Menu))
#1 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php(1620): DboSource->buildStatement(Array, Object(Menu))
#2 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php(1104): DboSource->buildAssociationQuery(Object(Menu), Array)
#3 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Model.php(2921): DboSource->read(Object(Menu), Array)
#4 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Model.php(2893): Model->_readDataSource('all', Array)
#5 /www/htdocs/w011601f/pages/ast/app/Controller/AppController.php(62): Model->find('all', Array)
#6 /www/htdocs/w011601f/pages/ast/lib/Cake/Event/CakeEventManager.php(242): AppController->beforeRender(Object(CakeEvent))
#7 /www/htdocs/w011601f/pages/ast/lib/Cake/Controller/Controller.php(927): CakeEventManager->dispatch(Object(CakeEvent))
#8 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ExceptionRenderer.php(278): Controller->render('error500')
#9 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ExceptionRenderer.php(246): ExceptionRenderer->_outputMessage('error500')
#10 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ExceptionRenderer.php(176): ExceptionRenderer->error500(Object(Error))
#11 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render()
#12 [internal function]: ErrorHandler::handleException(Object(Error))
#13 {main}
thrown in /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php on line 2912
Fatal error: Uncaught Error: Call to undefined function each() in /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php:2912
Stack trace:
#0 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php(1906): DboSource->order(Array, 'ASC', Object(Menu))
#1 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php(1620): DboSource->buildStatement(Array, Object(Menu))
#2 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php(1104): DboSource->buildAssociationQuery(Object(Menu), Array)
#3 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Model.php(2921): DboSource->read(Object(Menu), Array)
#4 /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Model.php(2893): Model->_readDataSource('all', Array)
#5 /www/htdocs/w011601f/pages/ast/app/Controller/AppController.php(62): Model->find('all', Array)
#6 /www/htdocs/w011601f/pages/ast/lib/Cake/Event/CakeEventManager.php(242): AppController->beforeRender(Object(CakeEvent))
#7 /www/htdocs/w011601f/pages/ast/lib/Cake/Controller/Controller.php(927): CakeEventManager->dispatch(Object(CakeEvent))
#8 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ExceptionRenderer.php(278): Controller->render('fatalError')
#9 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ExceptionRenderer.php(199): ExceptionRenderer->_outputMessage('fatalError')
#10 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ExceptionRenderer.php(176): ExceptionRenderer->_cakeError(Object(FatalErrorException))
#11 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ErrorHandler.php(119): ExceptionRenderer->render()
#12 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ErrorHandler.php(252): ErrorHandler::handleException(Object(FatalErrorException))
#13 /www/htdocs/w011601f/pages/ast/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(1, 'Uncaught Error:...', '/www/htdocs/w01...', 2912)
#14 /www/htdocs/w011601f/pages/ast/lib/Cake/Core/App.php(931): ErrorHandler::handleError(1, 'Uncaught Error:...', '/www/htdocs/w01...', 2912, Array)
#15 /www/htdocs/w011601f/pages/ast/lib/Cake/Core/App.php(904): App::_checkFatalError()
#16 [internal function]: App::shutdown()
#17 {main}
thrown in /www/htdocs/w011601f/pages/ast/lib/Cake/Model/Datasource/DboSource.php on line 2912