Skip to content
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

Upgrade to PHP 8.2 or PHP 8.1 on live sites #113

Open
bobbingwide opened this issue Dec 3, 2023 · 3 comments
Open

Upgrade to PHP 8.2 or PHP 8.1 on live sites #113

bobbingwide opened this issue Dec 3, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Dec 3, 2023

Having now spent nearly three months updating my plugins and themes to support PHP 8.1 and PHP 8.2 ( #103 ) it's time to actually update the live sites.

This involves switching the active version of PHP from the current version, 7.4.33, to either 8.1.26 or 8.2.13.

  • Which version I choose depends on the plugins and themes activated on each site.
  • PHP 8.1 went out of active support 7 days ago.
  • See https://www.php.net/supported-versions.php
  • But several 3rd party plugins produce messages with PHP 8.2.
  • These are mostly the same as the ones that I had to deal with
  • So some sites will need to be on PHP 8.1 for a while.
  • PHP 8.1 still has security support until Nov 2024.
@bobbingwide bobbingwide added the enhancement New feature or request label Dec 3, 2023
@bobbingwide bobbingwide self-assigned this Dec 3, 2023
@bobbingwide bobbingwide changed the title Upgrade to PHP 8.1 or PHP 8.2 on live sites Upgrade to PHP 8.2 or PHP 8.1 on live sites Dec 3, 2023
@bobbingwide
Copy link
Owner Author

SiteGround's Speed Optimizer plugin v7.4.4 produces several messages with PHP 8.2.
Their AI chat suggested updating to the latest level. Useless answer.

@bobbingwide
Copy link
Owner Author

I was unable to get the messages again on the site I had problems with ( herbmiller.me? ) but I got them after switching to PHP 8.2 on seriouslybonkers.com

Deprecated: Creation of dynamic property SiteGround_Optimizer\File_Cacher\Cache::$ignored_query_params is deprecated in /home/customer/www/seriouslybonkers.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 53

Deprecated: Creation of dynamic property SiteGround_Optimizer\File_Cacher\Cache::$bypass_query_params is deprecated in /home/customer/www/seriouslybonkers.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 53

Deprecated: Creation of dynamic property SiteGround_Optimizer\File_Cacher\Cache::$bypass_cookies is deprecated in /home/customer/www/seriouslybonkers.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 53

Deprecated: Creation of dynamic property SiteGround_Optimizer\File_Cacher\Cache::$output_dir is deprecated in /home/customer/www/seriouslybonkers.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 53

Deprecated: Creation of dynamic property SiteGround_Optimizer\File_Cacher\Cache::$logged_in_cache is deprecated in /home/customer/www/seriouslybonkers.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 53

Deprecated: Creation of dynamic property SiteGround_Optimizer\File_Cacher\Cache::$cache_secret_key is deprecated in /home/customer/www/seriouslybonkers.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 53

Deprecated: Creation of dynamic property SiteGround_Optimizer\File_Cacher\Cache::$logged_in_cookie is deprecated in /home/customer/www/seriouslybonkers.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 53

@bobbingwide
Copy link
Owner Author

Message from anchorgolf.com on WordPress updates page

Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/customer/www/anchorgolf.com/public_html/wp-admin/update-core.php:520 Stack trace: #0 /home/customer/www/anchorgolf.com/public_html/wp-admin/update-core.php(1118): list_plugin_updates() #1 {main} thrown in /home/customer/www/anchorgolf.com/public_html/wp-admin/update-core.php on line 520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant