• Resolved devff

    (@devff)


    Hi,

    I encountered error in Hustle Pro plugin, when viewing the homepage site there was a critical error. When I deactivated the plugin and reactivate again, it was working fine. Is there any conflict that caused the error or is it a cache issue?

    I’ve checked the error logs and found this in many lines:
    “NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_product_tag() in /www/wp-content/plugins/hustle/inc/front/hustle-module-front.php:229”

    Looking forward for solutions so it won’t occur again ??

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @devff !

    Hope you’re doing well today!

    I’ve checked the code that’s mentioned in the error message and it’s very odd that this would have happened. The code works like this:

    – check if WooCommerce is active
    – if it is, register some scripts based on functions available in Woo

    In this case the check for WooCommerce passed (plugin active), but then when Hustle tried to use one of the functions (is_product_tag) that function wasn’t available.

    The only possibility I see here is that in the meantime Woo has been deactivated, possibly for an update, therefore it must have been a very rare and odd condition for the issue to happen. We do check if Woo is active first so the issue shouldn’t occur anymore.

    Kind regards,
    Pawel

    Thread Starter devff

    (@devff)

    Hello Pawel,

    I believe it’s because of outdated Woo plugin. Thank you for checking.

    I found another issue, my site can’t detect new plugin version updates when Hustle Pro is activated. But when I deactivate and reactivate it again, the plugin versions are now available to update then eventually when you can’t update them right away, it won’t let you update them since they are detected as updated plugins.

    Thanks for your help ??

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @devff ,

    Can you open a separate ticket for the issue with updates, that will help track better this problem?

    kind regards,
    Kasia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined function is_product_tag()’ is closed to new replies.