• Hello,

    I keep receiving the following message from my WordPress site:

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Meta pixel for WordPress.

    The error itself looks the following:

    An error of type E_ERROR was caused in line 42 of the file /www/frames_935/public/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 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php:42
    Stack trace:
    #0 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php(42): strlen(Array)
    #1 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(914): FacebookAds\Object\ServerSide\Normalizer::normalize(’em’, Array)
    #2 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(863): FacebookAds\Object\ServerSide\UserData->normalizeHashDedup(’em’, Array)
    #3 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php(373): FacebookAds\Object\ServerSide\UserData->normalize()
    #4 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(302): FacebookAds\Object\ServerSide\Event->normalize()
    #5 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(240): FacebookAds\Object\ServerSide\EventRequest->normalize()
    #6 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(235): FacebookAds\Object\ServerSide\EventRequest->defaultExecute()
    #7 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/core/FacebookServerSideEvent.php(108): FacebookAds\Object\ServerSide\EventRequest->execute()
    #8 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/core/ServerEventAsyncTask.php(147): FacebookPixelPlugin\Core\FacebookServerSideEvent::send(Array)
    #9 /www/frames_935/public/wp-content/plugins/official-facebook-pixel/vendor/techcrunch/wp-async-task/wp-async-task.php(164): FacebookPixelPlugin\Core\ServerEventAsyncTask->run_action()
    #10 /www/frames_935/public/wp-includes/class-wp-hook.php(308): WP_Async_Task->handle_postback(”)
    #11 /www/frames_935/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #12 /www/frames_935/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #13 /www/frames_935/public/wp-admin/admin-post.php(61): do_action(‘admin_post_nopr…’)
    #14 {main}
    thrown

    Would you be able to help me? What am I supposed to do?

    Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Meta pixel plugin error’ is closed to new replies.