WooCommerce Admin crashes my site
-
My site had a critical error after I suppose the automatic plugins update. I did the troubleshoot and found that the WooCommerce Admin plugin is crashing my site now.
The plugin was installed from the beginning but I guess due to the last update it now crashes my site.
I provided the site URL but I have the plugin deactivated now.Please advise.
Thank you!
- This topic was modified 3 years, 3 months ago by egoruk.
The page I need help with: [log in to see the link]
-
Hi there,
Could you share your System Status Report, it would help us to understand your site setup a bit better. You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, paste it here in your reply.
Also, could you see if there’s any related fatal error logs under WooCommerce > Status > Logs? Please copy/ paste the logs here so we can take a look. That might provide us with more information about why WooCommerce admin crashed your site.
Hi there!
Here is System Status Report:
`
### WordPress Environment ###WordPress address (URL): https://traveldealsscout.com
Site address (URL): https://traveldealsscout.com
WC Version: 5.5.2
REST API Version: ? 5.5.2
WC Blocks Version: ? 5.3.3
Action Scheduler Version: ? 3.2.1
WC Admin Version: ? 2.4.4
Log Directory Writable: ?
WP Version: 5.8
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ?
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.3.29
PHP Post Max Size: 256 MB
PHP Time Limit: 90
PHP Max Input Vars: 1000
cURL Version: 7.78.0
OpenSSL/1.1.1kSUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.31-MariaDB
Max Upload Size: 256 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 5.0.0
WC Database Prefix: wpgs_
Total Database Size: 3.91MB
Database Data Size: 3.04MB
Database Index Size: 0.87MB
wpgs_woocommerce_sessions: Data: 0.10MB + Index: 0.01MB + Engine MyISAM
wpgs_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_acl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_blocks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_countries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_lab: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_lab_ip: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_lab_net: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_log: Data: 0.06MB + Index: 0.04MB + Engine MyISAM
cerber_qmem: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
cerber_traffic: Data: 0.50MB + Index: 0.03MB + Engine MyISAM
wpgs_actionscheduler_actions: Data: 0.38MB + Index: 0.10MB + Engine MyISAM
wpgs_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_actionscheduler_logs: Data: 0.29MB + Index: 0.21MB + Engine MyISAM
wpgs_cerber_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_cerber_sets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_cerber_uss: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_options: Data: 1.02MB + Index: 0.13MB + Engine MyISAM
wpgs_postmeta: Data: 0.13MB + Index: 0.03MB + Engine MyISAM
wpgs_posts: Data: 0.30MB + Index: 0.02MB + Engine MyISAM
wpgs_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wpgs_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
wpgs_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wpgs_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_wpfresh5_gdpr_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpgs_yoast_indexable: Data: 0.04MB + Index: 0.02MB + Engine MyISAM
wpgs_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpgs_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpgs_yoast_seo_meta: Data: 0.16MB + Index: 0.15MB + Engine MyISAM### Post Type Counts ###
attachment: 25
elementor_library: 2
nav_menu_item: 19
page: 25
post: 5
product: 8
revision: 82
shop_order: 3
wpcf7_contact_form: 1### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (14) ###
Akismet Anti-Spam: by Automattic – 4.1.10
Classic Editor: by WordPress Contributors – 1.6.2
Contact Form 7: by Takayuki Miyoshi – 5.4.2
Elementor: by Elementor.com – 3.3.1
Google Language Translator: by Translate AI Multilingual Solutions – 6.0.11
Insert Headers and Footers: by WPBeginner – 1.6.0
Facebook for WordPress: by Facebook – 3.0.5
Official StatCounter Plugin: by Aodhan Cullen – 2.0.6
Trusona: by Trusona – 1.5.5
WooCommerce Menu Cart: by Jeremiah Prummer
Ewout Fernhout – 2.9.8WooCommerce: by Automattic – 5.5.2
Yoast SEO: by Team Yoast – 16.9
WP Cerber Security, Anti-spam & Malware Scan: by Cerber Tech Inc. – 8.9
WP Freshstart 5 Pro: by Ankur Shukla – 5.19### Inactive Plugins (1) ###
WooCommerce Admin: by WooCommerce – 2.5.0
### Settings ###
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: #21 – /shop/
Cart: #39 – /cart/
Checkout: #40 – /checkout/
My account: #41 – /my-account/
Terms and conditions: ? Page not set### Theme ###
Name: Travelz Theme
Version: 1.0
Author URL: https://dwayneparis.com
Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ?### Templates ###
Archive Template: Your theme has a woocommerce.php file
you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.Overrides: –
### Action Scheduler ###
Complete: 938
Oldest: 2021-06-07 09:47:50 -0600
Newest: 2021-08-10 22:45:35 -0600Pending: 2
Oldest: 2021-08-10 23:45:35 -0600
Newest: 2021-08-10 23:45:35 -0600### Status report information ###
Generated at: 2021-08-10 23:21:13 -06:00
</blockquote> And here is he latest fatal error report: <blockquote>
2021-07-15T03:21:49+00:00 CRITICAL Class Elementor\Core\DocumentTypes\Post contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Elementor\Controls_Stack::get_name) in /home/traveldealsscout/public_html/wp-content/plugins/elementor/core/document-types/post.php on line 8
2021-07-15T03:21:50+00:00 CRITICAL Uncaught Error: Undefined class constant ‘TOGGLE_OPTION_NAME’ in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php:65
Stack trace:
#0 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(130): Automattic\WooCommerce\Admin\Features\Features::get_beta_feature_options()
#1 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Coupons.php(48): Automattic\WooCommerce\Admin\Features\Features::is_enabled(‘marketing’)
#2 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(114): Automattic\WooCommerce\Admin\Features\Coupons->__construct()
#3 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Admin\Features\Features::load_features(”)
#4 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#5 /home/traveldealsscout/public_html/wp-includes/plugin.php(484): W in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php on line 652021-07-15T03:21:50+00:00 CRITICAL Uncaught Error: Undefined class constant ‘TOGGLE_OPTION_NAME’ in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php:65
Stack trace:
#0 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(130): Automattic\WooCommerce\Admin\Features\Features::get_beta_feature_options()
#1 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Coupons.php(48): Automattic\WooCommerce\Admin\Features\Features::is_enabled(‘marketing’)
#2 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(114): Automattic\WooCommerce\Admin\Features\Coupons->__construct()
#3 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Admin\Features\Features::load_features(”)
#4 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#5 /home/traveldealsscout/public_html/wp-includes/plugin.php(484): W in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php on line 652021-07-15T18:19:01+00:00 CRITICAL Uncaught Error: Undefined class constant ‘TOGGLE_OPTION_NAME’ in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php:65
Stack trace:
#0 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(130): Automattic\WooCommerce\Admin\Features\Features::get_beta_feature_options()
#1 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Coupons.php(48): Automattic\WooCommerce\Admin\Features\Features::is_enabled(‘marketing’)
#2 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(114): Automattic\WooCommerce\Admin\Features\Coupons->__construct()
#3 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Admin\Features\Features::load_features(”)
#4 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#5 /home/traveldealsscout/public_html/wp-includes/plugin.php(484): W in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php on line 652021-07-15T18:19:02+00:00 CRITICAL Uncaught Error: Undefined class constant ‘TOGGLE_OPTION_NAME’ in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php:65
Stack trace:
#0 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(130): Automattic\WooCommerce\Admin\Features\Features::get_beta_feature_options()
#1 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Coupons.php(48): Automattic\WooCommerce\Admin\Features\Features::is_enabled(‘marketing’)
#2 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(114): Automattic\WooCommerce\Admin\Features\Coupons->__construct()
#3 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Admin\Features\Features::load_features(”)
#4 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#5 /home/traveldealsscout/public_html/wp-includes/plugin.php(484): W in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php on line 652021-07-15T19:28:31+00:00 CRITICAL Uncaught Error: Undefined class constant ‘TOGGLE_OPTION_NAME’ in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php:65
Stack trace:
#0 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(130): Automattic\WooCommerce\Admin\Features\Features::get_beta_feature_options()
#1 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Coupons.php(48): Automattic\WooCommerce\Admin\Features\Features::is_enabled(‘marketing’)
#2 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(114): Automattic\WooCommerce\Admin\Features\Coupons->__construct()
#3 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Admin\Features\Features::load_features(”)
#4 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#5 /home/traveldealsscout/public_html/wp-includes/plugin.php(484): W in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php on line 652021-07-15T19:28:31+00:00 CRITICAL Uncaught Error: Undefined class constant ‘TOGGLE_OPTION_NAME’ in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php:65
Stack trace:
#0 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(130): Automattic\WooCommerce\Admin\Features\Features::get_beta_feature_options()
#1 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Coupons.php(48): Automattic\WooCommerce\Admin\Features\Features::is_enabled(‘marketing’)
#2 /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php(114): Automattic\WooCommerce\Admin\Features\Coupons->__construct()
#3 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Admin\Features\Features::load_features(”)
#4 /home/traveldealsscout/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#5 /home/traveldealsscout/public_html/wp-includes/plugin.php(484): W in /home/traveldealsscout/public_html/wp-content/plugins/woocommerce-admin/src/Features/Features.php on line 65`Thank you!!
Hi @egoruk,
Thank you so much for sending over your System Status Report and those error logs.
These crashes are likely caused by a conflict with your theme or with another plugin. Read more about plugin and theme conflicts in our Self-Service Guide at the following link:
https://docs.woocommerce.com/document/woocommerce-self-service-guide/
How to test for conflicts
The best way to determine if the issue is being caused by a theme and/or plugin is to:
1. Temporarily switch your theme to the Storefront theme at the following link: https://woocommerce.com/storefront/?aff=10486&cid=1131038
2. Try to reproduce the problem by enabling WooCommerce Admin.
If the problem is resolved, it is a theme conflict. If not, continue to the next step.
3. Temporarily deactivate all plugins except WooCommerce and WooCommerce Admin. You can do this manually or use a plugin to help (see below for tools).
4. Try to reproduce the problem again. If the problem is resolved, it is a plugin conflict. To figure out which plugin is causing the problem, continue to the next step.
5. Reactivate your other plugins one by one, testing after each, until you find the one causing conflict.For more detailed instructions, check out how to test for plugin and theme conflicts at the following link:
https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Tools to help with troubleshooting
Meks Quick Plugin Disabler will remember what plugins you had active when you switch it back on. You can find it at the following link:
https://www.ads-software.com/plugins/meks-quick-plugin-disabler/
You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin, which can be found at the following link:
https://www.ads-software.com/plugins/wp-staging/
Please let us know how that goes!
- This reply was modified 3 years, 3 months ago by Chris M. - a11n. Reason: Formatting
I switched the theme and I deactivated all the plugins except for the woocommerce as instructed and I still have the same issue.
As I mentioned earlier, the WooCommerce Admin plugin was there since the lunch of the site. But it looks like the latest plugin update is now crashing the site.
Please advise.
Thank you.
Hi @egoruk,
Thanks so much for letting us know!
Because you are using WooCommerce 5.5.2, you do not actually need the standalone WooCommerce Admin plugin to be active on your site. The functionality in WooCommerce Admin has now been built into WooCommerce core.
If you are not seeing any kind of errors with just WooCommerce core and the standalone WooCommerce Admin plugin disabled, you can go ahead and uninstall the standalone WooCommerce Admin plugin completely.
Please let us know how that goes!
OK then, thank you! Will just remove the Admin plugin. Maybe the reason it gives a critical error is that it’s used with the Woocommerce 5.5.3 where it’s finctionality is built-in?…
- This reply was modified 3 years, 3 months ago by egoruk.
Hi @egoruk,
Good question. I wouldn’t expect it to cause problems. However you won’t lose anything by disabling the plugin. Let us know if you still have trouble after that.
Thanks!
- The topic ‘WooCommerce Admin crashes my site’ is closed to new replies.