Sorry, i forgot the principal . The PHP version is 8.1.9, MySQL 8.0.16 and Web server NGinx.
Error debug.log Message :
[09-Aug-2023 07:19:28 UTC] PHP Deprecated: Return type of WP_CLI\Iterators\Transform::current() should either be compatible with IteratorIterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar://C:/Users/jrgre/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/Transform.php on line 18
[09-Aug-2023 07:26:17 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 12288 bytes) in C:\Users\jrgre\Local Sites\demo02-cwicly\app\public\wp-includes\functions.php on line 650
Thanks for that.
It does seem unusual indeed… I can’t reproduce it on my end when updating from 1.2.9.9 to 1.2.9.9.2 with the same params.
The debug suggests a memory issue, which also sounds odd considering you don’t have other plugins installed.
Fatal error : Allowed memory size of 805306368 bytes exhausted (tried to allocate 12288 bytes) in C:\Users\jrgre\Local Sites\demo02-cwicly\app\public\wp-includes\functions.php on line 650
And here the functions.php code
( is_serialized( $data ) ) { // Don’t attempt to unserialize data that wasn’t serialized going in.
return @unserialize( trim( $data ) ); //line 650
}
I can’t currently see what could be going wrong, sorry for this.
Can you try setting up a new installation and see if you have trouble there?
Also, is this on WordPress 6.3? If so, could you try rolling back to 6.2.2 and see if the issue still arises?
I see that you reported: WordPress version: 6.2.2 - 6.3 but am not sure if that means you tested it on both.
Finally, can you try increasing your PHP memory limit?
I tried the different advice you gave me, but any success. I set up a new installation and everything works fine.
I think probably, i screwed my previous installation i don’t know how ? And why only v1.2.9.8.3 and v1.3-beta2 version were working and not the recent upgrade, mistery but is not related to php memory limit or wordpress version.
Thank you so much for your kind support and helped me sort it out this.
Thanks for the update! I’m glad to hear that you don’t have trouble with new installations, that’s one step in the right direction
This issue does sound quite unusual, and I’ll keep it listed in my bug tracker. If you have the possibility to send me an export of the local (providing there isn’t any private material within the installation), I’d really appreciate taking a look at it and seeing if I can reproduce the bug on my end.
Thanks for your patience and understanding on this one.