Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.6.0-b1
-
Fix Version/s: 5.7.0-b1
-
Component/s: Client Interface, Staff Interface
-
Labels:None
Description
The following errors are written to the logs when logging in to Blesta and when navigating pages.
[2022-10-28T23:06:50.682932+00:00] general.NOTICE: E_DEPRECATED: Return type of Minphp\Session\Handlers\PdoHandler::read($sessionId) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Minphp\\Session\\Handlers\\PdoHandler::read($sessionId) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/560b1/vendors/minphp/session/src/Handlers/PdoHandler.php","line":73}[2022-10-28T23:06:50.682997+00:00] general.NOTICE: E_DEPRECATED: Return type of Minphp\Session\Handlers\PdoHandler::write($sessionId, $data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Minphp\\Session\\Handlers\\PdoHandler::write($sessionId, $data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/560b1/vendors/minphp/session/src/Handlers/PdoHandler.php","line":91}[2022-10-28T23:06:50.683060+00:00] general.NOTICE: E_DEPRECATED: Return type of Minphp\Session\Handlers\PdoHandler::destroy($sessionId) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Minphp\\Session\\Handlers\\PdoHandler::destroy($sessionId) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/560b1/vendors/minphp/session/src/Handlers/PdoHandler.php","line":41}[2022-10-28T23:06:50.683122+00:00] general.NOTICE: E_DEPRECATED: Return type of Minphp\Session\Handlers\PdoHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Minphp\\Session\\Handlers\\PdoHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/560b1/vendors/minphp/session/src/Handlers/PdoHandler.php","line":53}[2022-10-28T23:06:50.746482+00:00] general.NOTICE: E_DEPRECATED: 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
{"code":8192,"message":"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","file":"/home/blestau/public_html/560b1/vendors/minphp/session/src/Handlers/PdoHandler.php","line":65}[2022-10-28T23:06:50.746820+00:00] general.NOTICE: E_DEPRECATED: Return type of Minphp\Session\Handlers\PdoHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Minphp\\Session\\Handlers\\PdoHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/560b1/vendors/minphp/session/src/Handlers/PdoHandler.php","line":33}
It appears that there is already a Pull Request that addresses this issue. https://github.com/phillipsdata/minphp-session/pull/22