You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you install e107 and there is some error, in PHP 8.2 there is message
Fatal error: Uncaught TypeError: installLog::exceptionHandler(): Argument #1 ($exception) must be of type Exception, Error given in ***\install.php on line 51
Actually, I am trying to find out why this happened :)
By mistake, I let one folder in the theme folder without theme.xml. Installation was trying to find theme.xml, theme.php and because it did not exist, an error was fired and with PHP 8.2 it ended with this fatal error.
The text was updated successfully, but these errors were encountered:
The function exceptionHandler() has the wrong parameter signature. It needs to accept a Throwable, not an Exception. See the documentation for set_exception_handler() for more information.
The exception handler parameter has to be of type `Throwable`, but we
are remaining compatible with PHP 5.6, which didn't have `Throwable`,
so let's fix this by moving the type to the phpDoc block.
Fixes: e107inc#5072
Motivation
Just to have better code
When you install e107 and there is some error, in PHP 8.2 there is message
Fatal error: Uncaught TypeError: installLog::exceptionHandler(): Argument #1 ($exception) must be of type Exception, Error given in ***\install.php on line 51
Actually, I am trying to find out why this happened :)
By mistake, I let one folder in the theme folder without theme.xml. Installation was trying to find theme.xml, theme.php and because it did not exist, an error was fired and with PHP 8.2 it ended with this fatal error.
The text was updated successfully, but these errors were encountered: