• Resolved ncj

    (@ncj)


    I was running plugin updates on other plugins on my site and encountered the below error. It looks to be some issue with the $options['plugins'] reference in woocommerce-product-country-base-restrictions.php. Can you take a look at this?

    Error Details

    An error of type E_ERROR was caused in line 148 of the file /www/mysite/public/wp-content/plugins/woo-product-country-base-restrictions/woocommerce-product-country-base-restrictions.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /www/mysite/public/wp-content/plugins/woo-product-country-base-restrictions/woocommerce-product-country-base-restrictions.php:148
    Stack trace: 0 /www/mysite/public/wp-content/plugins/woo-product-country-base-restrictions/woocommerce-product-country-base-restrictions.php(148): in_array(‘woo-product-cou…’, NULL) 1 /www/mysite/public/wp-includes/class-wp-hook.php(324): ZH_Product_Country_Restrictions->cbr_plugin_update_hook(Object(Plugin_Upgrader), Array) 2 /www/mysite/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 3 /www/mysite/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /www/mysite/public/wp-admin/includes/class-wp-upgrader.php(984): do_action(‘upgrader_proces…’, Object(Plugin_Upgrader), Array) 5 /www/mysite/public/wp-admin/includes/class-plugin-upgrader.php(237): WP_Upgrader->run(Array) 6 /www/mysite/public/wp-admin/update.php(74): Plugin_Upgrader->upgrade(‘activecampaign-…’) 7 {main} thrown

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kuldipzorem

    (@kuldipzorem)

    Hi @ncj,

    I’ve fixed the error, and it will be included in the next version update.

    Let me know if you need any further assistance.

    Thanks,
    Kuldip

    Thread Starter ncj

    (@ncj)

    Thanks, I appreciate it.

    Do you have an ETA on when the next version be released?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.