• I have installed the latest Version 2.2.0 of the Official Facebook Pixel

    since the last WooCommerce Update to 4.4.1. it the the following fatal error messaged int he log:
    2020-08-25T07:21:59+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on null in /srv/www/www.magped.com/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php:235
    Stack trace:
    #0 /srv/www/www.magped.com/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(135): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::getProductId(NULL)
    #1 [internal function]: FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::createAddToCartEvent(‘ec9e89b3df3be42…’, 35484, 1)
    #2 /srv/www/www.magped.com/wp-content/plugins/official-facebook-pixel/core/ServerEventFactory.php(147): call_user_func_array(Array, Array)
    #3 /srv/www/www.magped.com/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php(119): FacebookPixelPlugin\Core\ServerEventFactory::safeCreateEvent(‘AddToCart’, Array, Array, ‘woocommerce’)
    #4 /srv/www/www.magped.com/wp-includes/class-wp-hook.php(289): FacebookPixelPlugin\Integration\FacebookWordpressWooCommerce::trac in /srv/www/www.magped.com/wp-content/plugins/official-facebook-pixel/integration/FacebookWordpressWooCommerce.php in Zeile 235

    hope you can help me on that.

    greetings

    :: Paul

    The page I need help with: [log in to see the link]

  • The topic ‘fatal error’ is closed to new replies.