Fatal error: Uncaught TypeError: Argument 1 passed to core\Logger::newMessage() must be an instance of core\Exception, instance of Error given, called in /home3/tjs/echipamente-spalatorii-auto.ro/app/core/logger.php on line 31 and defined in /home3/tjs/echipamente-spalatorii-auto.ro/app/core/logger.php:60 Stack trace: #0 /home3/tjs/echipamente-spalatorii-auto.ro/app/core/logger.php(31): core\Logger::newMessage(Object(Error)) #1 [internal function]: core\Logger::exception_handler(Object(Error)) #2 {main} thrown in /home3/tjs/echipamente-spalatorii-auto.ro/app/core/logger.php on line 60