willow548
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Fatal error: Maximum execution time of 120 seconds exceededHello @serafinnyc
Thank you for your answer. I understand I have to reduce the number of variations per product and will think about a solution for this. Meanwhile I really need to put this store back online and the store to be working properly with at least a few products with little variations.
I have desactivated Variation Swatches for WooCommerce by CartFlows plugin but products pages still won’t load at all (even products pages with 24 variations) or if they do load when I click on the “Add to cart” button nothing happens, it doesn’t try to load the cart page any more, this is very strange.
So I have now desactivated all products who have above 48 variations but products pages still can’t load.
What would you advise to clean up the database of non used WooCommerce data or what can be done to allow the store to run properly with a few products with a few variations ?
Thank your for your help.
Kind regards
Forum: Plugins
In reply to: [WooCommerce] Fatal error: Maximum execution time of 120 seconds exceededHello @serafinnyc and @doublezed2
Thank you for your answers !
@serafinnyc to answer your questions :
- The load issue happens on all product pages :
- Some product pages load, then when I select variations and click on the “Add to cart” button, I can’t access to the next steps, the page cart doesn’t load, I’ve got a black page with “Error code: 500 Internal Server Error”.
- Some product pages don’t load at all even before this step.
- All products have variations but one, so 24 products with variations and 1 simple product.
- Yes there are 13 products with more than 30–50 variations. To give you an overview of the store :
- 11 products have between 1 and 24 variations ;
- 9 products have between 48 and 96 variations ;
- 4 products have between 162 and 336 variations.
- The last product I have added is the one with the more variations (336) but it was a month ago.
- I use a very light weight theme : GeneratePress.
The store uses a swatches plugin (Variation Swatches for WooCommerce by CartFlows). How can I check and solve if there are a lot of meta entries per variation added in the database as you suggested ?
An other point to consider :
The store had the latest version of Stripe (WooCommerce Stripe Gateway 9.5.0) which has just been annonced as causing increased screen load times and timing out due to too many network requests to Stripe. Those are precisely effects I am experiencing right now on the store (increased screen load times and timing out). I rolled back to WooCommerce Stripe Gateway 9.4.1 as advised hoping this WooCommerce and Stripe issue will be solved soon. But still experience those loading issues on product pages and cart page.
Thanks @doublezed2 for your recommandation as regard Query Monitor plugin. I have installed and activated it, I looked at the data and explored the plugin tabs but I am not sure what to do with it. Could you please advise about it to help inquire and solve loading issues ?
Here is a slow query I found comming from WooCommerce for example :
SELECToption_valueFROMwp_optionsWHEREoption_name = 'woocommerce_feature_blueprint_enabled'LIMIT1get_optionAutomattic\WooCommerce\Internal\Features\FeaturesController->feature_is_enabledAutomattic\WooCommerce\Utilities\FeaturesUtil::feature_is_enabledAutomattic\WooCommerce\Admin\Features\Features::load_featuresdo_action('init')require_once('wp-settings.php')require_once('wp-config.php')require_once('wp-load.php')require('wp-blog-header.php')time: 0,0539
@doublezed2 Here is the System Status Report : https://pastebin.com/ZQaQvh7b and the Fatal error logs https://pastebin.com/cQc1QDCF
Thank your for your help
Kind regards
Hi Facundo,
many thanks for your answer and your advice. I saved the bloc anew without making any change to it and hopefully it stays visible now on the product pages that had variations updated after the creation of Yith option bloc !
I hope Yith will think about adding a field to enable to add a class to an option bloc in the future to improve the plugin 🙂
Thanks again for your help.
Kind regards
Hi YITH WooCommerce Product Add-Ons team,
I still haven’t received any answer from your team as regards my 2 questions about your plugin :
- How to apply a CSS class to an option bloc to help with CSS styling ?
- How to keep options visible and enable their selection, even if product variations are modified on product page ?
Your help would be really appreciated to solve those matters related to your plugin asap.
Kind regards
Hi Vanesa,
the WooCommerce shop is under development for now so I cannot send a link yet unfortunately.
I had to delete and recreate all options affected by this bug to get a proper display of products options under variations and keep them after picking up the variations.
2 days ago I had to change the variations of a product and since then I noticed that the bug came back on this product page ! 2 options out of 3 created with the plugin disappear once all product variations are selected.
It is very annoying if all options have to be created anew all the time after variations are updated on products, especially when we have to enhance the styling with CSS ( I couldn’t find any field to apply a class to each option bloc, so I have to use the generated ID to target the option blocs in CSS and those ID change when I have to create new options in order to keep them visible…)
Could you please help me solve this bug to keep options visible and enable their selection, even if product variations are modified ?
Also, I would love to know if there is a way to apply a CSS class to an option bloc to help with CSS styling please.
I hope we can find a solution soon.
Many thanks for your help
- The load issue happens on all product pages :