facebookarchive / facebook-for-magento2

* Pixel on all pages, which trigger events link, PageView, ViewContent, AddToCart, Initiatecheckout and Purchase.* In the background, Syncs the products from the merchants product catalog to Facebook Catalog.* Stores all the data, like pixel id, catalog id, business maanger id, on to the local database on the instance.
Other
46 stars 36 forks source link

[Bug]: Installing With Magento 2.4.4 makes all pages blank #115

Open AboElnoor opened 2 years ago

AboElnoor commented 2 years ago

Contact Details

No response

What happened?

Hi,

After upgrading to Magento 2.4.4 and PHP to 8.1 all frontend pages show just blank pages.

And when I remove the extension, everything works fine.

Regards

Magento Version

2.4.4

Plugin Version

1.4.4, 1.4.5

Relevant log output

No response

Code of Conduct

sweikas commented 2 years ago

Basically it fails because of this error PHP Fatal error: During inheritance of ArrayAccess: Uncaught Exception: Deprecated Functionality: 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 /var/www/client/releases/8-d-BLY8L7F3G/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/AdsPixelSettings.php on line 154 in /var/www/client/releases/8-d-BLY8L7F3G/vendor/magento/framework/App/ErrorHandler.php:61

dankocrama commented 1 year ago

@zlik Same error here why Facebook is not updating the module to have support for php 8.1 ?