Title: array_map() should be an array
Last modified: September 2, 2016

---

# array_map() should be an array

 *  Resolved [Onisiforos](https://wordpress.org/support/users/onisforos/)
 * (@onisforos)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/array_map-should-be-an-array/)
 * Hi,
 * I have this warning in my error log.
 *     ```
       2016/09/02 09:42:51 [error] 1047#1047: *110694 FastCGI sent in stderr: "PHP message: PHP Warning:  array_map(): Argument #2 should be an array in /var/www/example.com/wp-includes/query.php on line 2777
       ```
   
    1. Is it affecting the performance of the website?
    2. Is there a way to fix it?
 * Thanks for your time.

Viewing 1 replies (of 1 total)

 *  [Navneil Naicker](https://wordpress.org/support/users/navzme/)
 * (@navzme)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/array_map-should-be-an-array/#post-7722154)
 * I would not recommended this but you can switch off debugging see if it helps.
   To turn off debugging goto ‘_wp-config.php_‘ and look for _WP\_DEBUG _set it 
   to _false_

Viewing 1 replies (of 1 total)

The topic ‘array_map() should be an array’ is closed to new replies.

## Tags

 * [array_map()](https://wordpress.org/support/topic-tag/array_map/)
 * [query](https://wordpress.org/support/topic-tag/query/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Navneil Naicker](https://wordpress.org/support/users/navzme/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/array_map-should-be-an-array/#post-7722154)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
