Support » Plugin: WooCommerce - Sendinblue Add-on » Fix this notice

  • Resolved Adnan

    (@hiddenpearls)


    I am getting the following notice appearing in the wp-admin dashboard.

    Notice: Trying to access array offset on value of type null in /nas/ddd/wp-content/plugins/woocommerce-sendinblue-newsletter-subscription/woocommerce-sendinblue.php on line 431

    How I can get this fixed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Sarah823

    (@sendinbluecustomercare)

    Hi @hiddenpearls ,

    Thanks for reaching out. This error was fixed in our latest update – please update your Plug-in to resolve this!

    Please reach out with anything else we can help with.

    Sarah

    Ameer

    (@hamzawpb)

    I was still getting the same notice even in the latest version.

    On line #431 this bit generates the notice:
    WC_Sendinblue::$account_info['email_credits']['credits']

    The reason is that the static variable is being called before its value was being set. The function that set the value for this variable was not called. I fixed it by adding the following line above the line #431.

    WC_Sendinblue::init();

    Plugin Support alice888

    (@alice888)

    Hello @hamzawpb,

    Thanks for following up.

    I will pass this information along to our developers.

    Thanks again!
    Alice

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix this notice’ is closed to new replies.