• After updating to PHP 8.0 I’m receiving e-mails about critical errors regarding this plugin, and in the list of support threads I see this is already a known issue for many months now and a fix should be available. When can we expect that patch?

    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 42 van het bestand /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php. Foutmelding: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, array given in /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php:42
    Stack trace:
    #0 /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php(42): strlen()
    #1 /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(914): FacebookAds\Object\ServerSide\Normalizer::normalize()
    #2 /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(863): FacebookAds\Object\ServerSide\UserData->normalizeHashDedup()
    #3 /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php(373): FacebookAds\Object\ServerSide\UserData->normalize()
    #4 /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(302): FacebookAds\Object\ServerSide\Event->normalize()
    #5 /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(240): FacebookAds\Object\ServerSide\EventRequest->normalize()
    #6 /.../wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(235): FacebookAds\Object\ServerSide\EventRequest->defaultExecute()
    #7 /.../wp-content/plugins/official-facebook-pixel/core/FacebookServerSideEvent.php(108): FacebookAds\Object\ServerSide\EventRequest->execute()
    #8 /.../wp-content/plugins/official-facebook-pixel/core/ServerEventAsyncTask.php(147): FacebookPixelPlugin\Core\FacebookServerSideEvent::send()
    #9 /.../wp-content/plugins/official-facebook-pixel/vendor/techcrunch/wp-async-task/wp-async-task.php(164): FacebookPixelPlugin\Core\ServerEventAsyncTask->run_action()
    #10 /.../wp-includes/class-wp-hook.php(307): WP_Async_Task->handle_postback()
    #11 /.../wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #12 /.../wp-includes/plugin.php(476): WP_Hook->do_action()
    #13 /.../wp-admin/admin-post.php(85): do_action()
    #14 {main}
      thrown
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @josklever,

    This is very likely the same issue a lot of people have been having with PHP 8, which is fixed by my PR here:
    https://github.com/facebookincubator/Facebook-Pixel-for-Wordpress/pull/32

    It has been sitting around for a very long time but will hopefully get merged in and released eventually. In the meantime you can apply the changes in that PR to the plugin yourself on your site.

    Thread Starter Jos Klever

    (@josklever)

    I’ve already seen your comment on other posts and thanks for that, but as it’s not allowed to post “same issue” comments on existing topics I created my own. But support seems none existent here.

    As multiple clients are using this plugin, I think it’s time to start looking for an alternative.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when using PHP 8.0’ is closed to new replies.