PHP 8 Errors
-
Hello,
We had a PHP 8 compatibility scan done and this plugin came up with a recurring errors.
For example:
Error in plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Traits/AdLabelAwareCrudObjectTrait.php: ‘object’ is a soft reserved keyword as of PHP version 7.0 and a reserved keyword as of PHP version 7.2 and should not be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
This error came up about 60 times in various files.
There is also this error:
Error in plugins/pixelyoursite/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Http/Adapter/Curl/AbstractCurl.php: The “age” parameter for function curl_version() is deprecated since PHP 7.4 and removed since PHP 8.0
Will these be fixed by the end of PHP 7.4 support next month?
Thank you.
-Tracy
- The topic ‘PHP 8 Errors’ is closed to new replies.