致命错误
Error: Uncaught TypeError: Argument 1 passed to ErrorHandler::handleException() must be an instance of Exception, instance of Error given in /opt/lampp/htdocs/quiz/lib/Cake/Error/ErrorHandler.PHP:108 Stack trace: #0 [internal function]: ErrorHandler::handleException(Object(Error)) #1 {main} thrown
File: /opt/lampp/htdocs/quiz/lib/Cake/Error/ErrorHandler.PHP
Line: 108
解决方法:
CakePHP 2.8与PHP7兼容. CakePHP 2.6和2.7不是.
见http://book.cakephp.org/2.0/en/appendices/2-8-migration-guide.html#php7-compatibility