Kerwood
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Infinite loop – plugin.phpThanks ?? .. I am all ready active in that thread.
Thank you very much.. Iv just updated and will keep an eye on my log file. I will let you know if anything changes.
Remenber to restart apache!
sudo service apache2 restart
My temp solution still generates errors, but at least its not looping.
[Tue Sep 24 23:31:20 2013] [error] [client 66.249.66.207] PHP Warning: reset() expects parameter 1 to be array, integer given in /var/sites/wp-includes/plugin.php on line 401 [Tue Sep 24 23:31:20 2013] [error] [client 66.249.66.207] PHP Warning: current() expects parameter 1 to be array, integer given in /var/sites/wp-includes/plugin.php on line 404
@defjam – Oops, forgot to tell which file ?? .. Its some where around line 404 in the wp-includes/plugin.php file.
Original line.
while ( next($wp_filter[$tag]) !== false );
Modified
while ( is_array($wp_filter[$tag]) && next($wp_filter[$tag]) !== false );
Same problem here.. 20GB+ log file.
I modified this linje, as a temorary solution. Worked for 24 hours now.
Original line
while ( next($wp_filter[$tag]) !== false );
Modified
while ( is_array($wp_filter[$tag]) && next($wp_filter[$tag]) !== false );
Hope they will fix it soon.
Forum: Fixing WordPress
In reply to: Infinite loop – plugin.php@john – How did you reach that conclusion?