Repeated PHP Warning Filling Error Log – Woodmart Theme
-
Hello,
We are experiencing repeated PHP warnings in the error log related to the Woodmart theme:
PHP Warning: Undefined array key “attribute” in /home/zavarivanje/public_html/wp-content/themes/woodmart/inc/widgets/class-widget-layered-nav.php on line 185
This warning is being logged thousands of times and has caused the error log file to grow to over 2.8 GB.
Could you please check and fix the cause of this warning in the theme code?
This is important to prevent further excessive log writing and potential server issues.
If you need more details or access, please let me know.
Thank you in advance!
Hello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
Hi, everything’s prepared, here you are:
We don’t see such warnings in your logs at the moment. Could you please clarify where we can investigate it?
Hi Artem,
Thank you for your reply.
I wanted to clarify:
The PHP warnings are continuously being generated and are filling up the error log on my server. The log file is located at:
/home/zavarivanje/logs/
I have attached a screenshot showing the error log location and some of the warning messages.
Here is an example of the error message:
PHP Warning: Undefined array key “attribute” in /home/zavarivanje/public_html/wp-content/themes/woodmart/inc/widgets/class-widget-layered-nav.php on line 185
The error log is currently over 2.8 GB in size and keeps growing.
Thank you!
Attachments:
You must be
logged in to view attached files.
We have fixed this issue on your website. This fix will also be included in our next theme update.
You are always welcome. Feel free to contact us if you have any further questions.
The topic ‘Repeated PHP Warning Filling Error Log – Woodmart Theme’ is closed to new replies.