Welcome Guest, Not a member yet? Register   Sign In
upgrade to php8.2.1 issues
#1

hi, i have upgrade to php8.2.1 and now i have this issues

Deprecated: Return type of CodeIgniter\Cookie\Cookie::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 /var/www/html/lnavarroa.cl/system/Cookie/Cookie.php on line 583

Deprecated: Return type of CodeIgniter\Cookie\Cookie::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 /var/www/html/lnavarroa.cl/system/Cookie/Cookie.php on line 597

Deprecated: Return type of CodeIgniter\Cookie\Cookie::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 /var/www/html/lnavarroa.cl/system/Cookie/Cookie.php on line 617

Deprecated: Return type of CodeIgniter\Cookie\Cookie::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 /var/www/html/lnavarroa.cl/system/Cookie/Cookie.php on line 631

Deprecated: Return type of CodeIgniter\Cookie\CookieStore::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/lnavarroa.cl/system/Cookie/CookieStore.php on line 247

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /var/www/html/lnavarroa.cl/app/Config/Events.php:35) in /var/www/html/lnavarroa.cl/system/Debug/Exceptions.php:137 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 /var/www/html/lnavarroa.cl/system/Debug/Exceptions.php(137): header() #2 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler() #3 {main} thrown in /var/www/html/lnavarroa.cl/system/Debug/Exceptions.php on line 137

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /var/www/html/lnavarroa.cl/app/Config/Events.php:35) in /var/www/html/lnavarroa.cl/system/Debug/Exceptions.php:137 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 /var/www/html/lnavarroa.cl/system/Debug/Exceptions.php(137): header() #2 /var/www/html/lnavarroa.cl/system/Debug/Exceptions.php(195): CodeIgniter\Debug\Exceptions->exceptionHandler() #3 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #4 {main} thrown in /var/www/html/lnavarroa.cl/system/Debug/Exceptions.php on line 137
Reply
#2

What version of CodeIgniter are you running? Looks like this is version 3?

Does this also happen on PHP 7.2 or 7.4 ?
Reply
#3

Upgrade to v4.2.12 or v4.3.1.
Reply
#4

(01-16-2023, 11:40 AM)superior Wrote: What version of CodeIgniter are you running? Looks like this is version 3?

Does this also happen on PHP 7.2 or 7.4 ?

im using ci 4.2.1, but i have solved, upgrading from php7.4 to php8.2.1
Reply




Theme © iAndrew 2016 - Forum software by © MyBB