Title: expects parameter 2 to be array
Last modified: August 27, 2020

---

# expects parameter 2 to be array

 *  [bulletjie](https://wordpress.org/support/users/bulletjie/)
 * (@bulletjie)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array-2/)
 * Looking through the php error logs, I see a lot of these errors in the log file
   of my site. Can you please explain what the problem might be.
 * 27-Aug-2020 05:47:25 UTC] PHP Warning: in_array() expects parameter 2 to be array,
   null given in E:\cfsnamibia\wp-content\plugins\wp-real-estate-pro\includes\class-
   wre-agent-rewrite.php on line 142
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexpects-parameter-2-to-be-array-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘expects parameter 2 to be array’ is closed to new replies.

 * ![](https://ps.w.org/wp-real-estate/assets/icon-256x256.png?rev=1743183)
 * [WP Real Estate](https://wordpress.org/plugins/wp-real-estate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-real-estate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-real-estate/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-real-estate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-real-estate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-real-estate/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bulletjie](https://wordpress.org/support/users/bulletjie/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array-2/)
 * Status: not resolved