Deprecated: Return type of sess::open($savePath = '', $sessionName = '') should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/howtocook/framework/models/sess.php on line 17
Deprecated: Return type of sess::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/howtocook/framework/models/sess.php on line 32
Deprecated: Return type of sess::read($id = '') should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/howtocook/framework/models/sess.php on line 41
Deprecated: Return type of sess::write($id = '', $data = null) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/howtocook/framework/models/sess.php on line 67
Deprecated: Return type of sess::destroy($id = '') should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/howtocook/framework/models/sess.php on line 113
Deprecated: Return type of sess::gc($maxlifetime = 0) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/howtocook/framework/models/sess.php on line 131
Fatal error: Uncaught ArgumentCountError: session_register_shutdown() expects exactly 0 arguments, 1 given in /home/howtocook/framework/events/events_session.php:22
Stack trace:
#0 /home/howtocook/framework/events/events_session.php(22): session_register_shutdown('session_write_c...')
#1 /home/howtocook/framework/models/pubsub.php(120): session_handler::on__session__start(NULL)
#2 /home/howtocook/init.php(161): pubsub::publish('on__session__st...')
#3 /home/howtocook/init.php(179): config::init()
#4 {main}
thrown in /home/howtocook/framework/events/events_session.php on line 22