• Resolved aslservices

    (@aslservices)


    Hello, I just installed the latest plugin (2.1.10.1) and I’m now getting this error, pasted below:

    WordPress 5.4.2 / Woocommerce 4.3.4

    Please advise what I can do to resolve this error. Thank you very much

    Uncaught Error: Class ‘Automattic\WooCommerce\Utilities\OrderUtil’ not found in /……../site/store/wp-content/plugins/woocommerce-wholesale-prices/includes/class-wwp-order.php:335\nStack trace:\n#0 /……../site/store/wp-includes/class-wp-hook.php(287): WWP_Order->wholesale_role_order_listing_filter()\n#1 /……../site/store/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()\n#2 /……../site/store/wp-includes/plugin.php(544): WP_Hook->do_action()\n#3 /……../site/store/wp-includes/class-wp-query.php(1078): do_action_ref_array()\n#4 /……../site/store/wp-includes/class-wp-query.php(1755): WP_Query->parse_query()\n#5 /……../site/store/wp-includes/class-wp-query.php(3432): WP_Query->get_posts()\n#6 /……../site/store/wp-includes/class-wp.php(624): WP_Query->query()\n#7 /……../site/store/wp-includes/class-wp.php(741): WP->query_posts()\n#8 /……../site/store/wp-includes/functions.php(1274): WP->main()\n#9 /……../site/store/wp-blog-header.php(16): wp()\n#10 /ho in /……../site/store/wp-content/plugins/woocommerce-wholesale-prices/includes/class-wwp-order.php on line 335, referer: https://www.autosportlabs.com/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The latest version of WooCommerce is 8.5.1. You should upgrade your site.

    Thread Starter aslservices

    (@aslservices)

    Hi, thanks for the reply. The details for this plugin says:

    WordPress Version: 5.2 or higher

    But the newer woocommerce requires a higher wordpress version.

    I recommend the plugin details page be updated to reflect these constraints.

    -Brent

    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi @aslservices,

    Thanks for the message. Yes, this is because the version of WooCommerce you are using is quite old.

    We rely on several internal classes in Woo so you’ll need to bump that up (preferably to the latest version)

    As for WordPress itself, we don’t use much inside WP so the version requirements aren’t as high.

    Hope this makes sense! Let me know if the issues remains after upgrading.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught error Automattic\WooCommerce\Utilities\OrderUtil’ is closed to new replies.