{"id":4152454,"date":"2013-09-22T18:59:50","date_gmt":"2013-09-22T18:59:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/infinite-loop-pluginphp\/"},"modified":"2016-08-21T05:23:51","modified_gmt":"2016-08-21T05:23:51","slug":"infinite-loop-pluginphp","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/infinite-loop-pluginphp\/","title":{"rendered":"Infinite loop &#8211; plugin.php"},"content":{"rendered":"<p>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?<\/p>\n<p>These is the two lines that keeps repeating in the error.log.<\/p>\n<pre><code>[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\n[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<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-4152454","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4152454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4152454\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4152454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}