Setting PHP debug in Blesta 5.6.0 editing config/blesta.php to below
// PHP error_reporting. 0 to disable error reporting, -1 to to show all errors
// Consult php's documentation for additional options
Configure::errorReporting(-1);
// Override minPHP's debugging setting. true to enable debugging, false to disable it
Configure::set('System.debug', true);
always results in error message starting with below in browser, making Blesta unsuable with PHP debug.
Something went wrong.
Return type of Minphp\Session\Handlers\PdoHandler::open($savePath, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice.
Return type of Minphp\Session\Handlers\PdoHandler::open($savePath, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice on line 65 in
...../blesta/vendors/minphp/session/src/Handlers/PdoHandler.php
UnknownException::setErrorHandler
Line 232
...../blesta/vendors/monolog/monolog/src/Monolog/ErrorHandler.php
Monolog\ErrorHandler->handleError
Line 10