- Support forum for the WooCommerce Cost of Goods: Product Cost & Profit Calculator.
- This topic has 9 replies, 2 voices, and was last updated 2 years, 1 month ago by Pablo.
-
AuthorPosts
-
October 4, 2022 at 1:43 am #92097Mike YoungParticipant
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): requirPlease help to avoid this problem happen again by fixing any bugs.
Thanks in advance!
October 4, 2022 at 2:35 am #92098Hi 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 2 years, 2 months ago by Pablo.
October 4, 2022 at 4:16 am #92100Mike YoungParticipantThe 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.October 4, 2022 at 1:23 pm #92127Hi 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].
October 4, 2022 at 2:27 pm #92128Mike YoungParticipantHello 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!
October 4, 2022 at 2:48 pm #92134Mike YoungParticipantI just installed your plugin but it shows v2.6.3. in admin/plugins, that is weir.
October 4, 2022 at 3:12 pm #92148Yes, 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.
October 4, 2022 at 5:57 pm #92164Hi Mike,
Did you manage to get the most recent version of the plugin? Let me know if you want more help.
October 4, 2022 at 10:00 pm #92236Mike YoungParticipantYes, successfully updated. So far so good.
Thank you for your support.October 4, 2022 at 10:40 pm #92237Anytime 😉
Let us know if you notice something. -
AuthorPosts
- You must be logged in to reply to this topic.