have a project with CakePHP version 3.0.5. Previously it was working fine. After upgrading my PHP version to 7.0.8 , it is not working. I’m getting the following error when I tried to table save operation . Can anyone please help me to resolve this?
Error: Uncaught TypeError: Argument 1 passed to Cake\Error\BaseErrorHandler::handleException() must be an instance of Exception, instance of Error given in /vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php:153 Stack trace: #0 [internal function]: Cake\Error\BaseErrorHandler->handleException(Object(Error)) #1 {main} thrown
File /vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php
Line: 153