-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Plugin should handle exceptions gracefully without throwing PHP error as it breaks frontend of website.
E.g:
PHP message: PHP Fatal error: Uncaught FacebookAds\Http\Exception\ServerException: An unknown error occurred in /home/website/webapps/website/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php:177\nStack trace:\n#0 /home/website/webapps/website/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Client.php(226): FacebookAds\Http\Exception\RequestException::create()\n#1 /home/website/webapps/website/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Request.php(286): FacebookAds\Http\Client->sendRequest()\n#2 /home/website/webapps/website/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Api.php(152): FacebookAds\Http\Request->execute()\n#3 /home/website/webapps/website/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-busin…’,
Best regards,
Ovidijus.