Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ставлю с нуля


Recommended Posts

Доброго дня)

Долго копался почему не заходит в заказы

решил переставить с нуля 2,0,4

забекапил и очистил базу

скачал стабильную версию 2.3.0.2.4

на этапе предустановки написало кучу ошибок
Deprecated: Return type of Session\Native::open($path, $name) should either be compatible with SessionHandler::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tamadadj/batistapiani.com/www/system/library/session/native.php on line 8

Deprecated: Return type of Session\Native::read($session_id) should either be compatible with SessionHandler::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tamadadj/batistapiani.com/www/system/library/session/native.php on line 16

Deprecated: Return type of Session\Native::write($session_id, $data) should either be compatible with SessionHandler::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tamadadj/batistapiani.com/www/system/library/session/native.php on line 20

Deprecated: Return type of Session\Native::destroy($session_id) should either be compatible with SessionHandler::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tamadadj/batistapiani.com/www/system/library/session/native.php on line 24

Deprecated: Return type of Session\Native::gc($maxlifetime) should either be compatible with SessionHandler::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tamadadj/batistapiani.com/www/system/library/session/native.php on line 28

Deprecated: Return type of Session\Native::create_sid() should either be compatible with SessionHandler::create_sid(): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/tamadadj/batistapiani.com/www/system/library/session/native.php on line 4

 

Link to comment
Share on other sites


  • 2 weeks later...

версию php понизить до 7.1 или 7.4

 

А себе я отключил такое предупреждение добавив до функции: #[\ReturnTypeWillChange]

Edited by buslikdrev
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.