I am working with your plugin for a customer (shop.handsfreehealth.com), and we discovered that the plugin was not able to fetch the order info on logged-in users, and this was generating an error (Class “OrderUtil” not found) when displaying the contact form for support.
After a bit of troubleshooting, the only solution was to update line 91 in the file class-wc-help-scout-shortcodes.php as follows:
´´´if ( isset($_SESSION[‘OrderUtil’]) && class_exists( ´´´’Automattic\WooCommerce\Utilities\OrderUtil’ ) && ´´´OrderUtil::custom_orders_table_usage_is_enabled() ) {
And this fixed the issue; now the site is loading the contact form without any errors.
If necessary, we can share a subscriber account so you can see the issue.
Have a great day,
AlbertoR
Open
Last updated: September 21, 2023
Log in to comment on this feature request.
One of our clients are having the same issue, and we would prefer a proper fix over having to rewrite 3rd party code.