• Resolved mensmaximus

    (@mensmaximus)


    On a customer website I experience the following critical error ounce in a while:

    2019-06-30T10:56:27+00:00 CRITICAL Uncaught Error: Call to a member function get_sku() on boolean in /html/wordpress/wp-content/plugins/woocommerce-sendinblue-newsletter-subscription/woocommerce-sendinblue.php:1237
    Stack trace:
    #0 /html/wordpress/wp-content/plugins/woocommerce-sendinblue-newsletter-subscription/woocommerce-sendinblue.php(1124): WC_Sendinblue_Integration->load_tracking_data_order(35919)
    #1 /html/wordpress/wp-includes/class-wp-hook.php(286): WC_Sendinblue_Integration->ws_checkout_completed(35919)
    #2 /html/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /html/wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /html/wordpress/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(78): do_action(‘woocommerce_tha…’, 35919)
    #5 /html/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(249): include(‘/html/wordpress…’)
    #6 /html/wordpress/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(248): wc_get_template(‘checkout/ in /html/wordpress/wp-content/plugins/woocommerce-sendinblue-newsletter-subscription/woocommerce-sendinblue.php in Zeile 1237

    ### WordPress Environment ###

    WC Version: 3.6.4
    WP Version: 5.2.2
    WP Memory Limit: 1 GB

    SendinBlue Subscribe Form And WP SMTP: 2.9.5
    WooCommerce Sendinblue Newsletter Subscription: 1.2.14

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brevo

    (@neeraj_slit)

    Hello!

    So that our tech team can look into it, could you share your SendinBlue Support ID?
    It can be found on your account by clicking on your name at the top right, then Support & Tickets or directly here.
    This will allow our support team to reach out and help you.

    Thanks!

    Thread Starter mensmaximus

    (@mensmaximus)

    Hi, as I said it is a customers website. I don’t have access to his Support ID. Imho the log message speaks for it self.

    Plugin Author Brevo

    (@neeraj_slit)

    Hi,

    I’m sharing a zip file with you with the fix developed by our technical team by placing a proper check before calling a function.

    If the issue remains, feel free to reply here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP critical error’ is closed to new replies.