Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Ilyes 1 year, 2 months ago.

Assisted by: Ilyes.

Author Posts
September 13, 2023 at 8:15 am #14387809

johnS-9

Hi there, I recently updated my site to PHP 8.2 and I get the following errors:

Deprecated: Creation of dynamic property Whip_RequirementsChecker::$configuration is deprecated in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/vendor/yoast/whip/src/Whip_RequirementsChecker.php on line 37

Deprecated: Creation of dynamic property Whip_RequirementsChecker::$messageManager is deprecated in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/vendor/yoast/whip/src/Whip_RequirementsChecker.php on line 38

Please can you assist?

September 14, 2023 at 9:08 am #14395041

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thank you for contacting WPML support team,

As far as I see, it appears that your server is currently running on PHP v8.2.x, which is relatively new and not yet fully compatible with WPML. However, I noticed that the errors you're encountering on your homepage are just warnings regarding deprecated functions in WPML that will require modification in the near future. Nevertheless, these functions are still operational at present.

To avoid showing those unwanted warnings and errors to your visitors, it's best to disable the debug mode in WordPress. This is actually a recommended practice, so you won't have to worry about anything.

To achieve that, edit your wp-config.php file and make sure it has this line

define( 'WP_DEBUG_DISPLAY', false );

---

Also, I noticed that you are not using the latest version of WPML, I highly recommend updating them, and you could try disabling Yoast's Premium plugin as we got a similar issue related to it, let us know if that removes the error,

We appreciate your patience!

Best,

September 14, 2023 at 10:27 am #14395739

johnS-9

Hi Ilyes,

Thanks for the reply, PHP 8.2 was released on December 8, 2022, do you have any timeframe on official WPML support for 8.2?

The reason this has become a more pressing issue for us is that some hosts (specifically WP Engine) are force upgrading accounts to PHP 8.2.

Thanks,

---

From WP Engine:

Upgrade to PHP 8.2 now!
WP Engine’s PHP 8.0 will be reaching end of life on October 31. Prepare your websites for the PHP 8.2 upgrade to experience increased security and performance.

And:

Automatic PHP Upgrades

The EOL (End-Of-Life) process is a standard part of the release cycles of PHP (the open source programming language which powers WordPress). Once a version has reached “end of life”, PHP ceases to provide security support for it and it is no longer secure enough to remain on WP Engine servers.

For security purposes, WP Engine completely removes older versions of PHP from our servers once they have reached “end of life”. At this time, if your website is using an older version of PHP, it will be upgraded to a newer version automatically.

Our team will notify you via email several times before this automatic change occurs. We highly recommend updating as soon as possible when a new PHP version is released to ensure your site is receiving performance benefits as well as to ensure you can perform the upgrade in a suitable window for your needs. Automatic PHP upgrades cannot be deferred.

September 14, 2023 at 3:13 pm #14397957

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

I'm afraid we cannot give you an estimation on when we plan on this implementation because WordPress itself isn't fully compatible with PHP 8.2 yet (only 8.1 for now) : https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

Also, the deprecated function that the error is calling will not affect the functionality of your website. So please ensure that no Fatal errors are logged instead.

In the meantime, I will escalate this matter to our developers, they should be aware of this,

Best,

September 14, 2023 at 3:16 pm #14397963

johnS-9

Thanks

I'm surprised WPEngine are pushing this update out while WP doesn't state it has full un-caveated support!