A PHP Error was encountered Severity: 8192 xətası haqqında kömək istəyirəm

MaSTeR_NiKo

İstifadəçi
Sadə İstifadəçi
Salam.
Scripti 8.0php də quranda normal işləyir. lakin digər scriptlərim 8.1 tələb etdiyi üçün məcbur bu scripti 8.1-də aktivləşdirməliyəm.
scripti 8.1-də qurduqda aşağıda qeyd etdiyim problem kodu verir. skript açır işləyir lakin yuxarı hissədə (header) bu xəta kodunu verir.

Kod:
A PHP Error was encountered
Severity: 8192 
Deprecated: Return type of LayerShifter\TLDExtract\Result::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/s590397/domains/news.sebeke.biz/public_html/application/third_party/domain-parser/layershifter/tld-extract/src/Result.php on line 189



Deprecated: Return type of LayerShifter\TLDExtract\Result::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/s590397/domains/news.sebeke.biz/public_html/application/third_party/domain-parser/layershifter/tld-extract/src/Result.php on line 203



Deprecated: Return type of LayerShifter\TLDExtract\Result::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/s590397/domains/news.sebeke.biz/public_html/application/third_party/domain-parser/layershifter/tld-extract/src/Result.php on line 251



Deprecated: Return type of LayerShifter\TLDExtract\Result::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/s590397/domains/news.sebeke.biz/public_html/application/third_party/domain-parser/layershifter/tld-extract/src/Result.php on line 267

və daha sonra ardınca:
Kod:
A PHP Error was encountered
Severity: 8192

Mesaj: Return type of CI_Session_database_driver::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

Dosya Adı: drivers/Session_database_driver.php

Line Number: 129

Backtrace:

File: /home/s590397/domains/news.sebeke.biz/public_html/application/core/Core_Controller.php
Line: 1
Function: __construct

File: /home/s590397/domains/news.sebeke.biz/public_html/application/core/Core_Controller.php
Line: 1
Function: __construct

File: /home/s590397/domains/news.sebeke.biz/public_html/application/controllers/Home_controller.php
Line: 1
Function: __construct

File: /home/s590397/domains/news.sebeke.biz/public_html/index.php
Line: 325
Function: require_once

Tam ətraflı aşadığa qeyd etdiyim link-ə baxa bilərsiniz.

Anlayışı olan şəxslərdən kömək istəyirəm.
 
və digər problemidə həll etdim.

sizdə də belə problemlər yaşansa əgər verilən səhvlik kodunun yerini tapıb (zatən error kodunda yeri qeyd olunur) həmin funksiya və tapşırıqlara aşağıdakı kodu əlavə edərək sistemin işləməsinə kömək ola bilərsiniz.

Kod:
#[\ReturnTypeWillChange]
 
Geri
Üst
Mövzu aç