Support » Plugin: Featured Products First for WooCommerce » Conflict with Shipping by Rules causing 500 error

  • Resolved juhanas


    Whenever this plugin and Shipping by Rules are in use at the same time, the store page simply returns a 500 code, logging the following error:

    Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function WC() in [redacted]/public_html/wp-content/plugins/featured-products-first-for-woocommerce/featured-products-first-for-woocommerce.php:86\nStack trace:\n#0 [redacted]/public_html/wp-includes/class-wp-hook.php(298): wff_pre_get_posts(Object(WP_Query))\n#1 [redacted]/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)\n#2 [redacted]/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#3 [redacted]/public_html/wp-includes/class-wp-query.php(1683): do_action_ref_array('pre_get_posts', Array)\n#4 [redacted]/public_html/wp-includes/class-wp-query.php(3248): WP_Query->get_posts()\n#5 [redacted]/public_html/wp-includes/post.php(1689): WP_Query->query(Array)\n#6 [redacted]/public_html/wp-content/plugins/shipping-by-rules-for-woocommerce/woocommerce-shipping-by-rules.php(297): get...\n', referer:

    • This topic was modified 2 years, 5 months ago by juhanas.
Viewing 1 replies (of 1 total)
  • Plugin Author Prashant Baldha



    Please update your woocommerce as well as “Featured Product First for Woocommerce” plugin and then Can you check again please?

    If you are still facing issue, Please feel free to write here.

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with Shipping by Rules causing 500 error’ is closed to new replies.