Undefined index: queries on query-loop.php on line 23
-
For some time plugin worked fine. But since yesterday I noticed it got wild.
If I use AQL in a template, it starts showing this error:
Notice: Undefined index: queries in /public_html/wp-content/plugins/advanced-query-loop/includes/query-loop.php on line 23 Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/advanced-query-loop/includes/query-loop.php on line 23
Strangely, this happens only when site is viewed by common visitor. When user is logged in to site, errors do not show. It actually may be messed up for some time but I did not notice as I am mostly logged in when on site.
Content for the page is displayed correctly. Even AQL works, except it displays this notice.
I tried to turn off other plugins just to check if some of them messes up query, but failed to find one.
I guess simple validity check could solve an issue.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Undefined index: queries on query-loop.php on line 23’ is closed to new replies.