• Resolved swallow2603

    (@swallow2603)


    Please check the following two lines of code.

    add_filter(‘woocommerce_before_mini_cart’, array($this, ‘woocommerce_before_mini_cart’), 9999);
    add_filter(‘woocommerce_after_mini_cart’, array($this, ‘woocommerce_after_mini_cart’), 9999);

    In the plugin “woocommerce” it is “do_action (‘woocommerce_before_mini_cart’)”.
    In your plugin is using add_filter it is causing a code error that makes lots of PHP logs appear.

    Please fix it to add_action.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error hook “woocommerce_before_mini_cart”’ is closed to new replies.