Loop error_log file won't stop growing.
-
I hope someone can help because I’ve no idea how to fix this nightmare short of deleting months of work.
I’m working on a dev site on my server, and a file keeps appearing at the root called: error_log.ico. The file spams my server so much that it fills up ALL my diskspace. Then it stops, no doubt culled by my host.
If I delete the file, it instantly reappears and starts clocking up drive space again like a frikkin virus!
I managed to get it open and look inside. These are the errors it’s looping over and over again:
PHP Warning: current() expects parameter 1 to be array, boolean given in /wp-includes/plugin.php on line 523 PHP Warning: next() expects parameter 1 to be array, boolean given in /wp-includes/plugin.php on line 527
I’ve tried disabling all the plugins, and that didn’t do anything. It still logs errors at a crazy speed.
I tried changing:
while ( next($wp_filter[$tag]) !== false );
to:
while ( is_array($wp_filter[$tag]) && next($wp_filter[$tag]) !== false );
in the plugin.php file, but that didn’t stop it either.
I even renamed the plugins file to plugins-old to wipe them all out. I also downloaded the plugins folder and completely deleted it off my server, and the error_log still persisted like some kind of website nightmare.
Any ideas how to stop that error log? It’s killing my server right now.
I’m using Sensible Pro 2.0 theme, and I’m using a lot of plugins, here’s a list:
AddFunc Head & Footer Code
Advanced Custom Fields
Akismet
BackWPup
Black Studio TinyMCE Widget
BuddyPress
Category Featured Images
Category Posts in Custom Menu
CloudFlare
Compress JPEG & PNG images
Contact Form 7
Dequeue Font Awesome
Enhanced Media Library
Enhanced Text Widget
HTML in Category Descriptions
I Recommend This
MailChimp for WordPress
Maintenance Mode
oik Weight/Country Shipping
P3 (Plugin Performance Profiler)
Paid Memberships Pro
Paid Memberships Pro – WooCommerce Add On
Regenerate Thumbnails
RokBox
Scroll Top
Shortcodes Ultimate
Simple Custom CSS
Smart Slider 3
TinyMCE Advanced
Widget Logic
WooCommerce
WooCommerce Colors
WooCommerce Coming Soon
WooCommerce Customizer
WooCommerce Digital Download Free Shipping
WooCommerce Product Archive Customiser
WooSidebars
Wordfence Security
WordPress Importer
WP Favorite Posts
WP Post Navigation
WP-CopyProtect [Protect your blog posts]
WP-Optimize
YITH WooCommerce Wishlist
Yoast SEO
ZenCacheSince deactivating the plugins has no effect, all I can figure is that it’s outside the plugins folder.
Also, I use a child theme. There are no plugins.php file or any plugin files in my child theme, so I don’t think it’s coming from there.
- The topic ‘Loop error_log file won't stop growing.’ is closed to new replies.