• Resolved dmkjr

    (@dmkjr)


    After upgrading to the latest stable version of WooCommerce that has been released, we get a fatal error.

    Error Details
    =============
    An error of type E_ERROR was caused in line 23 of the file /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-content/plugins/order-approval-woocommerce/includes/class-sg-order-approval-woocommerce-pro-payment-gateway.php. Error message: Uncaught Error: Class ‘WC_Payment_Gateway’ not found in /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-content/plugins/order-approval-woocommerce/includes/class-sg-order-approval-woocommerce-pro-payment-gateway.php:23
    Stack trace:
    #0 /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-content/plugins/order-approval-woocommerce/admin/class-sg-order-approval-woocommerce-pro-admin.php(200): require_once()
    #1 /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-includes/class-wp-hook.php(287): Sg_Order_Approval_Woocommerce_Pro_Admin->oawoo_wc_gateway_init()
    #2 /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #3 /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-includes/plugin.php(478): WP_Hook->do_action()
    #4 /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-settings.php(409): do_action()
    #5 /home/486152.cloudwaysapps.com/ngbpepnqqe/public_html/client/wp-config.php(91): requ

    Any ideas?

    Thanks,
    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dmkjr

    (@dmkjr)

    Apparently there was an issue upon the update conflicting with the plugin. After disabling the Order Approval plugin, re-enabling WooCommerce, enabling Order Approval, all is well.

    Plugin Author Sarankumar

    (@sarankumar)

    Hello @dmkjr ,

    During update time probably woocommerce plugin went to inactive so that the issue is raised. Activating plugin may solve the issue. Happy to see that you fixed it by yourself.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error with latest WooCommerce’ is closed to new replies.