• Resolved buddsg

    (@buddsg)


    Hello neat plugin! However when I click on the Product History tab to view the list of products, I get the following error message:

    “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    this is the error details from WordPress:

    Error Details
    =============
    An error of type E_ERROR was caused in line 140 of the file /home/budcosme/public_html/wp-content/plugins/order-status-history-for-woocommerce/includes/admin/order-history-product.php. Error message: Uncaught Error: Call to a member function get_data() on null in /home/budcosme/public_html/wp-content/plugins/order-status-history-for-woocommerce/includes/admin/order-history-product.php:140
    Stack trace:
    #0 /home/budcosme/public_html/wp-content/plugins/order-status-history-for-woocommerce/includes/admin/order-history.php(35): include()
    #1 /home/budcosme/public_html/wp-content/plugins/order-status-history-for-woocommerce/includes/class_osh.php(195): include('/home/budcosme/...')
    #2 /home/budcosme/public_html/wp-includes/class-wp-hook.php(292): oshwoo\osh->add_order_history('')
    #3 /home/budcosme/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
    #4 /home/budcosme/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /home/budcosme/public_html/wp-admin/admin.php(259): do_action('woocommerce_pag...')
    #6 {main}
      thrown

    What’s the cause of the error? much appreciated!

Viewing 1 replies (of 1 total)
  • Plugin Author alx359

    (@alx359)

    Hi @buddsg
    Thanks for reporting this issue. The error was from a too weak check for composite products existence that should be fixed in the 1.5.1 update.

Viewing 1 replies (of 1 total)
  • The topic ‘Product History Critical Error’ is closed to new replies.