Issues Adding Product – Critical Error
-
This is a fresh install of wordpress with no other plugins and no themes but default.
I have installed woocommerce and when I try to add a product I get this message:There has been a critical error on this website. Please check your site admin email inbox for instructions.Learn more about debugging in WordPress.
I contacted my hosting provider, they tried debugging and said I was getting the following error:
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/228/1135251/webspace/siteapps/WordPress-188748/htdocs/wp-includes/Requests/Transport/cURL.php on line 441
My hosting provider changed the max time to 120 seconds to see if that helps but to no avail, the same problem persists. Has anybody else experience this with the new update or have any suggestions for me?
Thanks!
-
Hi!
Thanks for reaching out!
It will be great if you could share your current System Status Report. You can get it by navigating to the
WooCommerce / Status
section of your site. Once there, click on theGet system report
button and then copy it by clicking on theCopy for support
button. Then paste it here in a comment.The System Status Report will give us a snapshot of your site and that should help us spot anything odd.
To clarify, you only get that error when you try to add new products? Does the same thing happen when you try to add a new post or page?
Hi,
Thanks for getting back to me. Yes to clarify, originally I was getting the error for both adding product AND trying to deactivate any of my plugins. So I deleted all plugins one by one through my control panel. This did not fix the issue so I removed and wordpress and did a fresh install. the only plugin i have now is woocommerce. I am getting the error when trying to add products now. Here is my status report:
### WordPress Environment ### WordPress address (URL): https://wrightcyclecentre.ie Site address (URL): https://wrightcyclecentre.ie WC Version: 4.9.1 REST API Version: ? 4.9.1 WC Blocks Version: ? 4.0.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.8.3 Log Directory Writable: ? WP Version: 5.6 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.4.13 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.7.32 Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.9.1 WC Database Prefix: wp_ Total Database Size: 2.47MB Database Data Size: 1.09MB Database Index Size: 1.38MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 0.25MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 1 page: 5 post: 2 product: 2 ### Security ### Secure connection (HTTPS): ? Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ? ### Active Plugins (1) ### WooCommerce: by Automattic – 4.9.1 ### Inactive Plugins (2) ### Akismet Anti-Spam: by Automattic – 4.1.2 Hello Dolly: by Matt Mullenweg – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) 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: #5 - /?page_id=5 Cart: #6 - /?page_id=6 Checkout: #7 - /?page_id=7 My account: #8 - /?page_id=8 Terms and conditions: ? Page not set ### Theme ### Name: Twenty Seventeen Version: 2.2 (update to version 2.5 is available) Author URL: https://www.ads-software.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 ### Overrides: – ### Action Scheduler ### Complete: 2 Oldest: 2021-01-22 12:57:50 +0000 Newest: 2021-01-22 12:57:50 +0000
I’m also having this exact same problem. Whenever I try to add or edit a product, it times out and either says max execution time reached, 504 error or one about /wp-includes/Requests/Transport/cURL.php
I’ve disabled all plugins except WC and switched to the default Twenty Twenty-One theme.
### WordPress Environment ###WordPress address (URL): https://dev.dronepilotacademy.co.uk/wp
Site address (URL): https://dev.dronepilotacademy.co.uk
WC Version: 4.9.0
REST API Version: ? 4.9.0
WC Blocks Version: ? 4.0.0
Action Scheduler Version: ? 3.1.6
WC Admin Version: ? 1.8.3
Log Directory Writable: ?
WP Version: 5.6
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: ?
WP Cron: ?
Language: en_GB
External object cache: –### Server Environment ###
Server Info: nginx/1.15.0
PHP Version: 7.2.10-0ubuntu0.18.04.1
PHP Post Max Size: 60 MB
PHP Time Limit: 60
PHP Max Input Vars: 1000
cURL Version: 7.58.0
OpenSSL/1.1.1dSUHOSIN Installed: –
MySQL Version: 5.7.32-0ubuntu0.18.04.1
Max Upload Size: 60 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 4.9.1
WC Database Prefix: wp_
Total Database Size: 24.50MB
Database Data Size: 20.17MB
Database Index Size: 4.33MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_gf_entry: Data: 0.11MB + Index: 0.02MB + Engine MyISAM
wp_gf_entry_meta: Data: 0.17MB + Index: 0.15MB + Engine MyISAM
wp_gf_entry_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_gf_form_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_gf_form_view: Data: 0.36MB + Index: 0.36MB + Engine MyISAM
wp_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_options: Data: 3.52MB + Index: 0.13MB + Engine InnoDB
wp_postmark_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_postmeta: Data: 13.52MB + Index: 1.88MB + Engine InnoDB
wp_posts: Data: 1.52MB + Index: 0.30MB + Engine InnoDB
wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM### Post Type Counts ###
acf: 5
acf-field: 73
acf-field-group: 5
attachment: 1191
case-studies: 5
course: 10
courses: 2
customize_changeset: 9
custom_css: 1
iwp_log: 192
nav_menu_item: 18
oembed_cache: 1
packages: 3
page: 18
post: 11
product: 58
product_variation: 36
revision: 241
services: 3
shop_order: 3
testimonial: 7### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?Error messages should not be shown to visitors.### Active Plugins (1) ###
WooCommerce: by Automattic – 4.9.0 (update to version 4.9.1 is available)
### Inactive Plugins (17) ###
Advanced Custom Fields: Font Awesome: by mattkeys – 3.1.1
Advanced Custom Fields: Table Field: by Johann Heyne – 1.3.10
Advanced Custom Fields PRO: by Elliot Condon – 5.8.3
Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.4
GDWP Contact Details: by Genius Division – 1.0.0
GDWP Maintenance: by Genius Division – 1.1.0
Gravity Forms: by Gravity Forms – 2.4.22
Gravity Forms Placeholder Add-On: by Able Engine
William Wilkerson – 1.1.0Post Duplicator: by Metaphor Creations – 2.22
Postmark (Official): by Andrew Yates & Matt Gibbs – 1.13.3
Post Types Order: by Nsp Code – 1.9.5.4
Redirection: by John Godley – 5.0
The SEO Framework: by The SEO Framework Team – 4.1.3
WooCommerce PayL8r Gateway: by – 1.0.0 – Installed version not tested with active version of WooCommerce 4.0
WooCommerce Stripe Gateway: by WooCommerce – 4.7.0
WPC Product Timer for WooCommerce: by WPClever.net – 3.0.0
WP fail2ban: by Charles Lecklider – 4.3.0.9### Settings ###
API Enabled: –
Force SSL: –
Currency: GBP (£)
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: ? Page ID is set
but the page does not existCart: #2109 – /basket/
Checkout: #2111 – /checkout/
My account: #2113 – /my-account/
Terms and conditions: #2148 – /terms-conditions/### Theme ###
Name: Twenty Twenty-One
Version: 1.0 (update to version 1.1 is available)
Author URL: https://www.ads-software.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 ###
Overrides: –
### Action Scheduler ###
Complete: 9
Oldest: 2021-01-04 11:54:23 +0000
Newest: 2021-01-22 12:44:32 +0000`
No error when adding a new post or page for me. Only products this causes issues with.
+1 Exact same issue, I’ve eliminated all plugins, custom code, themes, etc. I’ve been bashing my head against this for 2 days now. I also experience the same behavior when trying to activate/deactivate plugins, though it seems more random. This occurs with the last 2 versions of Woo. Any help is appreciated!
see also https://www.ads-software.com/support/topic/product-save-times-out-to-502-error/ and https://www.ads-software.com/support/topic/cannot-update-products-since-last-update/. Some attempts at fixes or partial fixes, but none that really solves the problems so far.
The only output in the WC fatal error logs was generic timeout, so no help there. I extended timeout to 120sec and still no joy. Stack trace just shows connection staying alive until timeout.
Hi! Can you try adding this filter to your site and seeing if that fixes this issue?
add_filter('woocommerce_admin_features', 'pk_woocommerce_admin_features'); function pk_woocommerce_admin_features($features) { if(($key = array_search('remote-inbox-notifications', $features)) !== false) { unset($features[$key]); } }
This appears to be result of a known issue that should be fixed in the next release of WooCommerce, but the above filter should fix your issues until then and allow you to edit and create products.
@crazywickedawesome, thanks I can confirm that the filter as posted by @ck-macleod in another thread, did indeed correct the saving/updating. Looking forward to the official patch.
Glad to hear it – thanks for letting us know!
I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.
- The topic ‘Issues Adding Product – Critical Error’ is closed to new replies.