Title: PHP 8.1 compability
Last modified: December 27, 2022

---

# PHP 8.1 compability

 *  Resolved [Kees Lamper](https://wordpress.org/support/users/keeslamper/)
 * (@keeslamper)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-compability/)
 * Yo yo yo y’all 😀
   I am a developer and provide extended support for customers.
   I use this plugin on some websites. Now I have run into a little problem. I am
   using Kinsta, and they want to upgrade their PHP version to 8.0. Luckily this
   plugin functions fine on 8.0, but 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.Kind regards!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-1-compability%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Kees Lamper](https://wordpress.org/support/users/keeslamper/)
 * (@keeslamper)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-compability/#post-16323228)
 * Oh forgot to add: I am using version 3.0.8
   And current version of WP: 6.1.1
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-compability/#post-16323253)
 * 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.
 *  Thread Starter [Kees Lamper](https://wordpress.org/support/users/keeslamper/)
 * (@keeslamper)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-compability/#post-16323312)
 * Alright, here are the warnings:
 *     ```wp-block-code
       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.
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-compability/#post-16323338)
 * Howdy [@keeslamper](https://wordpress.org/support/users/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](https://wordpress.org/plugins/facebook-for-woocommerce/#developers).
 * > /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 [https://gist.github.com/](https://gist.github.com/)
   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.
 *  Thread Starter [Kees Lamper](https://wordpress.org/support/users/keeslamper/)
 * (@keeslamper)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-compability/#post-16324905)
 * 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 3 years, 5 months ago by [Kees Lamper](https://wordpress.org/support/users/keeslamper/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP 8.1 compability’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Kees Lamper](https://wordpress.org/support/users/keeslamper/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-compability/#post-16324905)
 * Status: resolved