Skip to content

Deprecated : Return type on Zend_Session_SaveHandler_DbTable #377

@fanlei

Description

@fanlei

I upgraded PHP to 8.1 and got the following "Deprecated" message. Any suggestions to handle them? Thanks in advance!

Deprecated: Return type of Zend_Session_SaveHandler_DbTable::open($save_path, $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 in
/vagrant/dealerdirect/vendor/shardj/zf1-future/library/Zend/Session/SaveHandler/DbTable.php
on line 293
Deprecated: Return type of Zend_Session_SaveHandler_DbTable::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
/vagrant/dealerdirect/vendor/shardj/zf1-future/library/Zend/Session/SaveHandler/DbTable.php
on line 306
Deprecated: Return type of Zend_Session_SaveHandler_DbTable::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
/vagrant/dealerdirect/vendor/shardj/zf1-future/library/Zend/Session/SaveHandler/DbTable.php
on line 317
Deprecated: Return type of Zend_Session_SaveHandler_DbTable::write($id, $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 in
/vagrant/dealerdirect/vendor/shardj/zf1-future/library/Zend/Session/SaveHandler/DbTable.php
on line 341
Deprecated: Return type of Zend_Session_SaveHandler_DbTable::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
/vagrant/dealerdirect/vendor/shardj/zf1-future/library/Zend/Session/SaveHandler/DbTable.php
on line369
Deprecated : Return type of Zend_Session_SaveHandler_DbTable::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 in
/vagrant/dealerdirect/vendor/shardj/zf1-future/library/Zend/Session/SaveHandler/DbTable.php
on line 381

Metadata

Metadata

Labels

to be releasedPR exists or in master, but not released yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions