Home › Forums › WoodMart support forum › woodmart core plugin causing massive amount of errors – webshop crashed
woodmart core plugin causing massive amount of errors – webshop crashed
- This topic has 19 replies, 2 voices, and was last updated 4 years, 5 months ago by Artem Temos.
-
AuthorPosts
-
June 3, 2020 at 7:20 am #200167
JoshParticipantHello Guys,
We have a bit of a problem with our webshop using the WoodMart theme. This website has been active for nearly a year. However it seems that the WoodMart core plugin is spitting out a massive amount of errors so much so that it used up all our 30gb disk space and caused our webshop to crash.
We got in contact with our hosting which is Liquidweb and they tracked down the cause of the problem which was this plugin [Woodmart core plugin] Please can you help us to identify what the problem is as I use this theme on other webshops.
Also, the webshop is a critical webshop! Liquidweb has disabled error logging until we have sorted this problem out. Please see below for more information…
Regards,
JoshJune 3, 2020 at 9:27 am #200206
Artem TemosKeymasterHello,
Thank you so much for contacting our support center.
Could you please provide us some examples of these errors from your logs so we can understand their nature?
Kind Regards
XTemos StudioJune 3, 2020 at 9:39 am #200214
JoshParticipantI don’t have an example of the errors or the error log myself. Liquidweb informed us that they found the problem in the error logs. But do you mean the PHP error.log because I can download it only it is something like 300mb?
I can also ask Liquidweb to send an example of these errors?
regards,
JoshJune 3, 2020 at 11:08 am #200257
Artem TemosKeymasterIf they say that our plugin causes all these errors, most probably, there are just a few errors that are written there every second or minute. So just send us these repeating errors example.
And usually, log files are created every day to avoid such situations. And old log files (more than a week or month) should be removed automatically. So we suggest you to ask your hosting to configure your error logs in such a way to avoid similar problems in the future.June 3, 2020 at 11:48 am #200281
JoshParticipantOkay thanks mate!
I will ask them to send an example of the errors thanks. And also suggest if they can automatically remove log files older than a month or so.
Regards,
JoshJune 3, 2020 at 1:02 pm #200308
JoshParticipantHello guys,
I just received the following email from Liquidweb and have added their reply and the link to the log file in the private content below. One line of the log file was 4mb.
Thanks for your help.
regards,
JoshJune 3, 2020 at 1:08 pm #200314
Artem TemosKeymasterAccording to this log the error is not related to the WoodMart core plugin. As you can see, it comes from the layered navigation widget. And since it is based on a WooCommerce widget, could you please check how it works with a default WordPress theme and standard WoOCommerce filter widget? https://gyazo.com/153c478262b75b9989e82e1ec21dd1e3
June 3, 2020 at 1:17 pm #200317
JoshParticipantThanks…
Could you please explain that a bit more? The layered navigation widget is that the browse categories menu in the WoodMart theme? or is that something else?
Regards,
JoshJune 3, 2020 at 1:22 pm #200323
JoshParticipantI see it is the filter widget in WooCommerce. Does that mean the problem is in the woo-commerce plugin? I see that woocommerce on version is 3.7.0 and needs to be updated to 4.2
Would that cause this problem?
Regards,
JoshJune 3, 2020 at 1:23 pm #200324
Artem TemosKeymasterLayered nav widget (or Product filters) is a widget to filter your products by attributes https://gyazo.com/3cebb085e0aba2a0f834eb367d9fb9ec
And stores some information in the database. Due to the large data size, it can’t be stored in the database.
Anyway, please, check how it works with other theme first to understand is it related to our theme or to WooCommerce plugin.June 3, 2020 at 1:23 pm #200325
JoshParticipantOkay…
June 4, 2020 at 9:23 am #200562
JoshParticipantHello Guys,
We have done as you asked on our staging site. We have changed the theme to twenty nineteen and changed this filter to a standard filter.
The team from Liquidweb said the following below.
June 4, 2020 at 9:24 am #200563
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file and check how it works then
add_filter( 'woocommerce_layered_nav_count_maybe_cache', '__return_false' );
June 4, 2020 at 9:30 am #200568
JoshParticipantThanks did you mean the twenty nineteen theme or the WoodMart theme?
June 4, 2020 at 9:42 am #200569
Artem TemosKeymasterThis code should work for both theme and WooCommerce filters. Just put it into the WoodMart child theme and be sure that you have activated this theme in Appearance -> Themes.
June 4, 2020 at 9:44 am #200571
JoshParticipantOkay, thanks mate I will add this code and then also check with liquid web if it makes a difference.
regards,
JoshJune 4, 2020 at 2:19 pm #200727
JoshParticipantHey Guys,
Good news this had solved the problem liquidweb says the error codes are no longer polluting the logs. Thanks alot!
We first added it on our staging site and now it is on our LIVE site.
Now the next question I have is do I also need to do this to all my other webshops where I have used your theme? or is this just a one-off?
Regards,
JoshJune 4, 2020 at 6:22 pm #200734
Artem TemosKeymasterYou can use this code when you will see similar errors on other websites.
Kind Regards
June 5, 2020 at 9:30 am #200957
JoshParticipantHi Guys,
We just wanted to say thank you for your quick response and help in sorting this problem out! Thanks to your support we were able to get this solved quickly. 🙂
Take care and stay safe!
regards,
JoshJune 5, 2020 at 9:41 am #200958
Artem TemosKeymasterYou are welcome, we are always happy to help you, write us when you have any difficulties or issues with our theme.
And we would be glad if you will rate our theme with 5 stars on Theme Forest in case you are satisfied with our theme and customer service http://themeforest.net/downloads
Thank you in advance 🙂
-
AuthorPosts
Tagged: woodmart core plugin
- You must be logged in to create new topics. Login / Register