PHP warnings making error_log file too big
-
Hello!
The problem we’re facing with is that the error_log file is too big (20-30MB in one day), because of many PHP warnings that are created by your plugin.
Erorrs occur when a user visits a page and then when the max mega menu script is called the PHP warnings are fired like 50 times in the same moment. But we’ve noticed that there are 5 unique errors that are repeated in the same moment.
Here is the list of errors that we are seeing:
- 26-Feb-2024 10:49:20 UTC] PHP Warning: Attempt to read property “theme_location” on array in /home/public_html/wp-content/plugins/megamenu/megamenu.php on line 448
- [26-Feb-2024 10:49:20 UTC] PHP Warning: Attempt to read property “before” on array in /home/public_html/wp-content/plugins/megamenu/classes/walker.class.php on line 180
- [26-Feb-2024 10:49:20 UTC] PHP Warning: Attempt to read property “link_before” on array in /home/public_html/wp-content/plugins/megamenu/classes/walker.class.php on line 194
- [26-Feb-2024 10:49:20 UTC] PHP Warning: Attempt to read property “link_after” on array in /home/public_html/wp-content/plugins/megamenu/classes/walker.class.php on line 194
- [26-Feb-2024 10:49:20 UTC] PHP Warning: Attempt to read property “after” on array in /home/public_html/wp-content/plugins/megamenu/classes/walker.class.php on line 238
Looking forward for your answer!
Best regards!
Rok!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘PHP warnings making error_log file too big’ is closed to new replies.