Title: Infinite loop &#8211; plugin.php
Last modified: August 21, 2016

---

# Infinite loop – plugin.php

 *  Resolved [Kerwood](https://wordpress.org/support/users/kerwood/)
 * (@kerwood)
 * [13 years ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/)
 * My wordpress blog is starting to do infinite loops and it makes my apache2 error.
   log file very big very very quickly. The temporary solution is to restart apache,
   but after a couple of hours the loops starts again. Whats wrong here?
 * These is the two lines that keeps repeating in the error.log.
 *     ```
       [Sun Sep 22 18:11:51 2013] [error] [client 66.249.73.163] PHP Warning:  current() expects parameter 1 to be array, integer given in /path/to/plugin.php on line 404
       [Sun Sep 22 18:11:51 2013] [error] [client 66.249.73.163] PHP Warning:  next() expects parameter 1 to be array, integer given in /path/to/plugin.php on line 408
       ```
   

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [john](https://wordpress.org/support/users/johnpaulbeaver/)
 * (@johnpaulbeaver)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152691)
 * I just had this start with our install within the last day too out of the blue.
   We haven’t added or upgraded any plugins?
 *  [john](https://wordpress.org/support/users/johnpaulbeaver/)
 * (@johnpaulbeaver)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152693)
 * 20 gig in a matter of minutes
 *  [john](https://wordpress.org/support/users/johnpaulbeaver/)
 * (@johnpaulbeaver)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152694)
 * It seems to be nextGEN causing the problem, what a massive shock that is.
 *  [lee@digitalacorn](https://wordpress.org/support/users/leedigitalacorn/)
 * (@leedigitalacorn)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152696)
 * They’re passing an integer (a number) to a function that deals with arrays.
 * Try de activating plugins 1 by 1 till you find the culprit and then contact them,
   let them know what’s happening.
 *  Thread Starter [Kerwood](https://wordpress.org/support/users/kerwood/)
 * (@kerwood)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152725)
 * [@john](https://wordpress.org/support/users/john/) – How did you reach that conclusion?
 *  [ELAN42///](https://wordpress.org/support/users/nokao/)
 * (@nokao)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152779)
 * cause: [http://wordpress.org/support/topic/new-bug-filling-up-log-files-taking-down-site-20gig-and-counting/page/2?replies=31](http://wordpress.org/support/topic/new-bug-filling-up-log-files-taking-down-site-20gig-and-counting/page/2?replies=31)
 *  Thread Starter [Kerwood](https://wordpress.org/support/users/kerwood/)
 * (@kerwood)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152780)
 * Thanks 🙂 .. I am all ready active in that thread.

Viewing 7 replies - 1 through 7 (of 7 total)

 The topic ‘Infinite loop – plugin.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [Kerwood](https://wordpress.org/support/users/kerwood/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/infinite-loop-pluginphp/#post-4152780)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
