Fatal error: Uncaught Error: Class 'String' not found in /var/www/html/hrportal/lib/Cake/Utility/Debugger.php:340
Stack trace: 0 /var/www/html/hrportal/lib/Cake/Utility/Debugger.php(742): Debugger::trace(Array)1 /var/www/html/hrportal/lib/Cake/Error/ErrorHandler.php(229): Debugger->outputError(Array) /var/www/html/hrportal/app/Controller/AppController.php(72): ErrorHandler::handleError(8, 'Undefined index...', '/var/www/html/h...', 72, Array) 3 /var/www/html/hrportal/lib/Cake/Event/CakeEventManager.php(243): AppController->beforeFilter(Object(CakeEvent)) 4 /var/www/html/hrportal/lib/Cake/Controller/Controller.php(676): CakeEventManager->dispatch(Object(CakeEvent)) 5 /var/www/html/hrportal/lib/Cake/Error/ExceptionRenderer.php(154): Controller->startupProcess() 6 /var/www/html/hrportal/lib/Cake/Error/ExceptionRenderer.php(92): ExceptionRenderer->_getController(Object(FatalErrorException)) 7 /var/www/html/hrportal/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct(Object(FatalErrorException)) 8 in /var/www/html/hrportal/lib/Cake/Utility/Debugger.php on line340
This error is coming as i have upgraded my system to PHP 7.0.
I have CakePHP application , that was working on 5.5.9 Perfectly , Now this error is coming please help .