WPIntell

Source evidence

Fatal error due to unhandled exception

Meta pixel for WordPress · support · 2025-10-28T13:44:00+00:00

complaintsentiment
highseverity
1.0relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 31 rows with source links

12.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
ovidijusk unresolved
Hello, after we installed the plugin, we get PHP Fatal error in frontend pages. This should be handled gracefully in plugin in try catch block and never cause exception. 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…’, Could you please fix it in next plugin update? Best regards, Ovidijus. Hi @ovidijusk – thanks for reaching out! We are aware of this issue and are working on a fix, which will be included in the coming releases. Please let us know if there’s anything else we can help you out with. Kind regards, Marija Same issue here. I see other threads with same problem, so it is a serious bug and this is a long-standing problem. Can you provide me the Github repo’s link? Temporary solution: make a file in the mu-plugins folder, add any name e.g. facebook-pixel-fix.php Add this code: <?php /** * Facebook Pixel temporary error fix */ // Temporarily disable the faulty async task add_filter('facebook_pixel_server_events_use_async', '__return_false'); // Or alternative solution: catch shutdown errors register_shutdown_function(function() { $error = error_get_last(); if ($error && strpos($error['message'], 'FacebookAds\Http\Exception\ServerException') !== false) { // Clear the error message error_clear_last(); // Log it but don't display it error_log('Facebook Pixel API error caught: ' . $error['message']); // Prevent fatal error from being displayed if (!headers_sent()) { header('HTTP/1.1 200 OK'); } } }); // Increase Facebook API timeout value add_filter('facebook_pixel_api_timeout', function($timeout) { return 30; // 30 seconds timeout }); Received a fatal error this morning and have disabled plugin until resolved. Error Details ============= An error of type E_ERROR was caused in line 177 of the file /home/qo8uysg/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php. Error message: Uncaught FacebookAds\Http\Exception\ServerException: An unknown error occurred in /home/qo8uysg/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php:177 This reply was modified 6 months, 4 weeks ago by mfidelis . Hi everyone, This issue is a top priority, we will share an update here as soon as the fix has been implemented and released. Kind regards, Marija My previous temporary fix is worth nothing. Sorry.

Comments

6 shown
Marija 2025-10-28T15:19:00+00:00

Hi @ovidijusk – thanks for reaching out! We are aware of this issue and are working on a fix, which will be included in the coming releases. Please let us know if there’s anything else we can help you out with. Kind regards, Marija

estalhun 2025-10-31T07:28:00+00:00

Same issue here. I see other threads with same problem, so it is a serious bug and this is a long-standing problem. Can you provide me the Github repo’s link?

estalhun 2025-10-31T07:53:00+00:00

Temporary solution: make a file in the mu-plugins folder, add any name e.g. facebook-pixel-fix.php Add this code: <?php /** * Facebook Pixel temporary error fix */ // Temporarily disable the faulty async task add_filter('facebook_pixel_server_events_use_async', '__return_false'); // Or alternative solution: catch shutdown errors register_shutdown_function(function() { $error = error_get_last(); if ($error && strpos($error['message'], 'FacebookAds\Http\Exception\ServerException') !== false) { // Clear the error message error_clear_last(); // Log it but don't display it error_log('Facebook Pixel API error caught: ' . $error['message']); // Prevent fatal error from being displayed if (!headers_sent()) { header('HTTP/1.1 200 OK'); } } }); // Increase Facebook API timeout value add_filter('facebook_pixel_api_timeout', function($timeout) { return 30; // 30 seconds timeout });

mfidelis 2025-10-31T14:37:00+00:00

Received a fatal error this morning and have disabled plugin until resolved. Error Details ============= An error of type E_ERROR was caused in line 177 of the file /home/qo8uysg/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php. Error message: Uncaught FacebookAds\Http\Exception\ServerException: An unknown error occurred in /home/qo8uysg/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php:177 This reply was modified 6 months, 4 weeks ago by mfidelis .

Marija 2025-11-04T12:57:00+00:00

Hi everyone, This issue is a top priority, we will share an update here as soon as the fix has been implemented and released. Kind regards, Marija

estalhun 2025-11-04T16:00:00+00:00

My previous temporary fix is worth nothing. Sorry.