Support » Plugin: Cost of Goods for WooCommerce » Causes a fatal error

  • Resolved cfm168

    (@cfm168)


    Hello,

    My site down due to this plugin according to WP notification:
    “In this case, WordPress caught an error with one of your plugins, Cost of Goods for WooCommerce Pro”.

    Please help to avoid this problem happen again by fixing any bugs.

    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Pablo Pacheco

    (@karzin)

    Hi @cfm168 ,

    Can you please provide what was the error? As you’re talking about the Pro version, please contact us through here.

    Thread Starter cfm168

    (@cfm168)

    Hi @karzin,

    I reported through developer site. I still want to show the errors here in case can help other users.

    Error Details
    =============
    An error of type E_ERROR was caused in line 16 of the file /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/background-process/class-alg-wc-cog-bkg-process.php. Error message: Uncaught Error: Class ‘WP_Background_Process’ not found in /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/background-process/class-alg-wc-cog-bkg-process.php:16
    Stack trace:
    #0 /home/SorryHided/SorryHided.com/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cog-core.php(84): require_once()
    #1 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Core->init_bkg_process(”)
    #2 /home/SorryHided/SorryHided.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/SorryHided/SorryHided.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/SorryHided/SorryHided.com/wp-settings.php(461): do_action(‘plugins_loaded’)
    #5 /home/SorryHided/SorryHided.com/wp-config.php(92): require_once(‘/home/sorryhided…’)
    #6 /home/SorryHided/SorryHided.com/wp-load.php(50): requir`

    Plugin Contributor Pablo Pacheco

    (@karzin)

    Hi @cfm168 ,

    Sure, I’ve replied to you over there as well.

    I couldn’t reproduce the error here.

    It’s odd that you have experienced the error Class WP_Background_Process not found, as that class is bundled on WooCommerce itself.

    Anyway, I’m now checking for it and I’m loading it from WooCommerce in case it’s not found again.

    Please, update the plugin to version 2.6.8. It should be ok from now on. Let me know if you notice something.

    Thread Starter cfm168

    (@cfm168)

    The problem now is that my site down and unable to access. I have just updated to v2.6.8.
    by FTP but the site page with “There has been a critical error on this website.”. The problem persists.

    Plugin Contributor Pablo Pacheco

    (@karzin)

    Hi @cfm168 ,

    I sent you a message on our forums.

    Thread Starter cfm168

    (@cfm168)

    I downloaded from my account but it shows v2.6.3.

    Thread Starter cfm168

    (@cfm168)

    So far so good now. Thank you!

    Plugin Contributor Pablo Pacheco

    (@karzin)

    😉

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.