• Resolved websavers

    (@websavers)


    Using version 3.3.54. While editing posts, get this critical error in the logs:

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Class “Automattic\WooCommerce\Utilities\OrderUtil” not found in /httpdocs/wp-content/plugins/wp-event-solution/core/woocommerce/hooks.php:1618\nStack trace:\n#0 /httpdocs/wp-includes/class-wp-hook.php(326): Etn\Core\Woocommerce\Hooks->etn_order_page_metabox_init()\n#1 /httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#2 /httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /httpdocs/wp-admin/includes/meta-boxes.php(1714): do_action()\n#4 /httpdocs/wp-admin/edit-form-blocks.php(276): register_and_do_post_meta_boxes()\n#5 /httpdocs/wp-admin/post.php(187): require(‘…’)\n#6 {main}\n thrown in /httpdocs/wp-content/plugins/wp-event-solution/core/woocommerce/hooks.php on line 1618′, referer: https://domain/wp-admin/edit.php

    Server error log

    Seems like the code needs a check to see if WooComm is there before trying to use the OrderUtil class

    • This topic was modified 6 months, 3 weeks ago by websavers.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter websavers

    (@websavers)

    Solution appears be to edit line 1618 to this:

    if ( class_exists('OrderUtil') && OrderUtil::custom_orders_table_usage_is_enabled() ) {
    • This reply was modified 6 months, 3 weeks ago by websavers. Reason: typo
    Plugin Contributor Abdur Rahim Rasel

    (@abrasel600)

    Hi,

    Greetings.

    We are extremely sorry for that issue. We are concerned about the issue. Please allow us some time. We will release a fixed version today. I hope soon you will get it. We appreciate your patience. 

    Best Regards

    Plugin Contributor Abdur Rahim Rasel

    (@abrasel600)

    Hi there,

    Good news! We’ve fixed the problem with WooCommerce dependency. Please take a look at our newest version when you get a chance. If you need any help, just let us know.

    Thanks!

    Thread Starter websavers

    (@websavers)

    Thanks for the quick fix!

    Plugin Support A Zaman Sagor

    (@azamansagor)

    Thank you for notifying us about the issue so quickly.

    Would you please share your feedback on our product? We’ve invested a lot of time and energy into creating it, and we’re excited to hear your thoughts. We think it can be really helpful for WordPress users, but we would love to hear your input to make it even better.

    Please feel free to contact us anytime you need help, and we are always here to help.

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical error if WooComm not installed’ is closed to new replies.