Conflict with Shipping by Rules causing 500 error
-
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: https://onl.fi/wp-admin/edit.php?post_type=product
- The topic ‘Conflict with Shipping by Rules causing 500 error’ is closed to new replies.