Closed richardHangHimself closed 5 years ago
Check /var/www/html/mtl/application/Mnt.php:352
, is says: unexpected '$this'
..
also strange: Uncaught Error: Wrong parameters for Error([string $message [, long $code [, Throwable $previous = NULL]]])
.
Do you have an own class with name Error
? If so rename it, because php7+ now has its own Error class, probably colliding with a custom one.
Ah... yes it was colliding all the time with the custom Error function I totally overlooked. Thank you!
Recently upgraded to php 7.x and F3 3.6.5. I ran into it, cannot figure it our, if that's a problem with loading by composer or something else. It is intentionally causing error to be caught by logger instance and produced to a log file. But it is not working after that upgrade.