Causes a fatal error site down

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #92097
    Mike Young
    Participant

    Hello Sir,

    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”.

    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

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

    Thanks in advance!

    #92098
    Pablo
    Moderator
    Plugin Support

    Hi Mike,

    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 I just released. It should be ok from now on. Let me know if you notice something.

    • This reply was modified 1 year, 6 months ago by Pablo.
    #92100
    Mike Young
    Participant

    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.

    #92127
    Pablo
    Moderator
    Plugin Support

    Hi Mike,

    I’m sorry the update didn’t fix the problem. Can you please create/share an admin account to your server (WP and preferably FTP), so I could log in and check what’s going on? If that’s the case, you can send an email to [email protected].

    #92128
    Mike Young
    Participant

    Hello Sir,

    Yes my site is back now. It seems Turn on auto update is bad idea for WooCommerce. Auto update caused big trouble site down.
    I updated WooCommerce by rename the current version, then FTP the new version. So far so good.

    I have not activate your latest plugin yet. I will le you know later. Thanks!

    #92134
    Mike Young
    Participant

    I just installed your plugin but it shows v2.6.3. in admin/plugins, that is weir.

    #92148
    Pablo
    Moderator
    Plugin Support

    Yes, that’s weird.

    Can you please try to delete your plugin, download it again and install it once more? And disable the free version, if you have it enabled.

    If it doesn’t work, please send a message to [email protected]. We can send you the most recent version.

    #92164
    Pablo
    Moderator
    Plugin Support

    Hi Mike,

    Did you manage to get the most recent version of the plugin? Let me know if you want more help.

    #92236
    Mike Young
    Participant

    Yes, successfully updated. So far so good.
    Thank you for your support.

    #92237
    Pablo
    Moderator
    Plugin Support

    Anytime 😉
    Let us know if you notice something.

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