WordPress caught an error with one of your plugins, Facebook for WordPress.

This topic has 2 replies, 2 voices, and was last updated 2 years, 8 months ago ago by Rose Tyler

  • Avatar: Omar Talat
    Omar Talat
    Participant
    March 8, 2022 at 01:08

    i think the problem is the php version
    PHP version 8.1.2
    i don’t know how to fix it
    could you help me, please
    Error Details
    =============
    An error of type E_ERROR was caused in line 42 of the file /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php. Error message: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, array given in /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php:42
    Stack trace:
    #0 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php(42): strlen()
    #1 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(914): FacebookAds\Object\ServerSide\Normalizer::normalize()
    #2 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(863): FacebookAds\Object\ServerSide\UserData->normalizeHashDedup()
    #3 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php(373): FacebookAds\Object\ServerSide\UserData->normalize()
    #4 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(302): FacebookAds\Object\ServerSide\Event->normalize()
    #5 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(240): FacebookAds\Object\ServerSide\EventRequest->normalize()
    #6 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(235): FacebookAds\Object\ServerSide\EventRequest->defaultExecute()
    #7 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/core/FacebookServerSideEvent.php(101): FacebookAds\Object\ServerSide\EventRequest->execute()
    #8 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/core/ServerEventAsyncTask.php(147): FacebookPixelPlugin\Core\FacebookServerSideEvent::send()
    #9 /home/t2mk1r2ntxg3/public_html/wp-content/plugins/official-facebook-pixel/vendor/techcrunch/wp-async-task/wp-async-task.php(164): FacebookPixelPlugin\Core\ServerEventAsyncTask->run_action()
    #10 /home/t2mk1r2ntxg3/public_html/wp-includes/class-wp-hook.php(307): WP_Async_Task->handle_postback()
    #11 /home/t2mk1r2ntxg3/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #12 /home/t2mk1r2ntxg3/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
    #13 /home/t2mk1r2ntxg3/public_html/wp-admin/admin-post.php(51): do_action()
    #14 {main}
    thrown

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 8, 2022 at 09:49

    Hello,

    In error text, you can see it comes from plugins/official-facebook-pixel , so contact support for the plugin, because it doesn’t come bundled with our theme.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘WordPress caught an error with one of your plugins, Facebook for WordPress.’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.