• Resolved tnitschinger

    (@tnitschinger)


    Hi – we had this plugin installed on a customer website with Woocommerce. Today we had the problem that products that did not have reviews were not displayed correctly. The page was not loaded completely and generated an error 500.
    When turning on the log, we found this in the fatal errors:

    ###
    2020-06-03T15:09:28+00:00 CRITICAL Uncaught Error: Call to undefined function wc_review_ratings_enabled() in /data/web/e59964/html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php:1763
    Stack trace:
    #0 /data/web/e59964/html/wp-includes/class-wp-hook.php(286): woosea_product_fix_structured_data(Object(WC_Product_Variable), Object(WC_Product_Variable))
    #1 /data/web/e59964/html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /data/web/e59964/html/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php(272): apply_filters(‘woocommerce_str…’, Array, Object(WC_Product_Variable))
    #3 /data/web/e59964/html/wp-includes/class-wp-hook.php(286): WC_Structured_Data->generate_product_data(Object(WC_Product_Variable))
    #4 /data/web/e59964/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /data/web/e59964/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 /data/web/e59964/html/wp-content/plugins/woocommerce/templates/content-single-product.php(58): do_action(‘woocommerce_sin in /data/web/e59964/html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php on line 1763
    ###

    Do you understand what happened here?
    Thanks for your help.
    tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Tom,

    Thanks for using our plugin and reaching out to us. You are probably on an older WooCommerce version. The error you are seeing is because our plugin is using a WooCommerce function that is not supported in older versions of WC. Please make sure you are on 3.6 or higher.

    Thread Starter tnitschinger

    (@tnitschinger)

    Yes – you are right, we are on Woo 3.4.5.
    Is there a quick fix how we can locally disable the use of this function?

    We plan to upgrade to a newer version of WP and WOO – but this will take some more weeks from now.

    Thanks

    Unfortunately there is nothing you can do about this for now, apart from upgrading WC.

    Hi,

    Assuming the issue at hand has been resolved or our support is no longer required I am going to close this topic for housekeeping reasons now.

    Please do not hesitate to reach out to us again whenever you need our help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error’ is closed to new replies.