PHP 8.1 compability | WordPress.org

[ad_1]

Oh forgot to add: I am using version 3.0.8
And current version of WP: 6.1.1

Hello,

I am getting some deprecated warnings on 8.1. I am in no rush to update to 8.1 just yet, but I was curious wether this is in the works or not.

To get a better idea about the site’s configuration, please share a copy of your site’s System Status Report: It is under WooCommerce > Status. Select “Get system report” and then “Copy for support”.

And please provide us with the warning messages received.

Thank you.

Alright, here are the warnings:

Deprecated: Return type of FacebookAds\Object\ServerSide\AdsPixelSettings::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 /www/coachcenternl_997/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/AdsPixelSettings.php on line 154

Deprecated: Return type of FacebookAds\Object\ServerSide\AdsPixelSettings::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 /www/coachcenternl_997/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/AdsPixelSettings.php on line 163

Deprecated: Return type of FacebookAds\Object\ServerSide\AdsPixelSettings::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 /www/coachcenternl_997/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/AdsPixelSettings.php on line 173

Deprecated: Return type of FacebookAds\Object\ServerSide\AdsPixelSettings::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 /www/coachcenternl_997/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/AdsPixelSettings.php on line 186

And I can’t paste the status report here, hope that is not an issue to you.

Howdy @keeslamper

Oh forgot to add: I am using version 3.0.8

Kindly note that the latest version of the “Facebook for WooCommerce” plugin is version 3.0.6, as of writing this. Direct link here.

/plugins/official-facebook-pixel/

Kindly note that the warnings you are sharing (thank you for that), point to another plugin.

To help you further, I’d like to understand more about your setup.

Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.

Once you’ve done that, you can paste the text in and feel free to change/remove your site URL in the report for privacy reasons.

Once you have that, you can paste the Gist link here in your reply.

Oh I am so sorry, seems like I misread the plugin name when I created a topic. This is indeed not an issue for this plugin as far as I know. I will mark this topic as resolved.

  • This reply was modified 4 minutes ago by keeslamper.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer