Title: [PHP Warning] Passed variable is not an array or object in query.php file
Last modified: August 19, 2016

---

# [PHP Warning] Passed variable is not an array or object in query.php file

 *  Anonymous User 1437452
 * (@anonymized-1437452)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/php-warning-passed-variable-is-not-an-array-or-object-in-queryphp-file/)
 * Hello everyone
 * I’m using WordPress latest version in my blog. WordPress is frequently creating“
   error_log” file in root and its content always have following lines:
 * ================
    [17-Apr-2011 12:18:17] PHP Warning: reset() [[function.reset](https://wordpress.org/support/topic/php-warning-passed-variable-is-not-an-array-or-object-in-queryphp-file/function.reset?output_format=md)]:
   Passed variable is not an array or object in /home/user/public_html/wp-includes/
   query.php on line 2925 [17-Apr-2011 12:18:17] PHP Warning: reset() [[function.reset](https://wordpress.org/support/topic/php-warning-passed-variable-is-not-an-array-or-object-in-queryphp-file/function.reset?output_format=md)]:
   Passed variable is not an array or object in /home/user/public_html/wp-includes/
   query.php on line 2925
 * a few more similar lines
    ================
 * Can anyone please throw some light what is the culprit behind this error message?
   The file is created almost daily.
 * Thanks.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/php-warning-passed-variable-is-not-an-array-or-object-in-queryphp-file/#post-2037607)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Ten theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  Thread Starter Anonymous User 1437452
 * (@anonymized-1437452)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/php-warning-passed-variable-is-not-an-array-or-object-in-queryphp-file/#post-2037783)
 * ^^ Thanks for helping but I have already checked with the theme and plugin. No
   change.
 * The error message appears almost everyday. Can anyone try to explain what exactly
   the error message indicates?
 *  [juangiga](https://wordpress.org/support/users/juangiga/)
 * (@juangiga)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/php-warning-passed-variable-is-not-an-array-or-object-in-queryphp-file/#post-2037933)
 * Hi, i have this error too, please… any help? i’m reset all plugin, unistall and
   install again, plugins disbled and enable again and the problems continuos.

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

The topic ‘[PHP Warning] Passed variable is not an array or object in query.php 
file’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [juangiga](https://wordpress.org/support/users/juangiga/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/php-warning-passed-variable-is-not-an-array-or-object-in-queryphp-file/#post-2037933)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
