-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support PHP 8.3 in local development #114
Comments
Requirement
Proposed solution
|
That appeared to be quite easy. Demonstrating PHP version
Testing oik-user
|
Well that was well wacky. When I switched to PHP 8.3 in the webserver and ran
The source code was
|
I've had a few more since then
Line 14 is
|
Message displayed visiting https://s.b/bwcom/top-10-wp-plugins/ Deprecated: Calling get_class() without arguments is deprecated in C:\apache\htdocs\bwcom\wp-includes\class-wp-http.php on line 329 C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\bwtrace-actions.php(286:2) bw_trace_error_handler(1) 193 9 2023-12-10T10:34:48+00:00 2.200010 0.121214 cf=admin_init 10677 61 0 77594624/77594624 256M F=1242 err Array
Analysis
|
Deprecated: Function libxml_disable_entity_loader() is deprecated in C:\apache\htdocs\wp55\wp-content\plugins\wordpress-importer\parsers\class-wxr-parser-simplexml.php on line 21 produced in WordPress importer |
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\apache\htdocs\hm\wp-content\plugins\gpt3-ai-content-generator\admin\extra\wpaicg_image_generator_log.php on line 27 |
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\apache\htdocs\wordpress\wp-content\plugins\wordpress-seo\src\helpers\first-time-configuration-notice-helper.php on line 127 Yoast SEO was 21.5. Try again with the latest |
Let's see if the Fatal error stack problem's been fixed with PHP 8.3.3
|
Nope. Fatal error: Maximum call stack size of 18446744073709518848 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached during compilation. Try splitting expression in C:\apache\htdocs\bigram\wp-admin\post.php on line 12 There's some documentation at https://www.php.net/manual/en/migration83.other-changes.php I'm trying with a value of 128M for max_allowed_stack_size but have no idea if that makes any sense. |
Looks like I'd already started debugging this in s.b/wp55
|
Yup see #103 |
A follow on to #103, which was for PHP 8.2, and PHP 8.1
PHP 8.3.0 https://www.php.net/releases/8.3/en.php was released on 23rd November 2023
Most of my live sites are currently running PHP 7.4.33, which is well out of support, but is the default version of PHP in the hosting offered by SiteGround. I've raised an issue to update the live sites to PHP 8.2, or PHP 8.1. See #113
Now it's time to test and/or update my plugins and themes for PHP 8.3
I hope it's not another horrendous time waster
The text was updated successfully, but these errors were encountered: