Title: Warning: array_intersect()
Last modified: August 22, 2016

---

# Warning: array_intersect()

 *  [Neal Chester](https://wordpress.org/support/users/nealreal/)
 * (@nealreal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/warning-array_intersect/)
 * The plugin seems to be working fine but it displays this error message at the
   top of all the pages:
 * `Warning: array_intersect(): Argument #2 is not an array in /[...]/wp-content/
   plugins/wordpress-access-control/wordpress-access-control.php on line 271`
 * I’m running the latest version of it. It’s funny it wasn’t doing this on the 
   test server, but now on the live server this warning pops up. Both servers are
   identical for PHP configuration.
 * Any help is appreciated.
 * [https://wordpress.org/plugins/wordpress-access-control/](https://wordpress.org/plugins/wordpress-access-control/)

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

 *  Thread Starter [Neal Chester](https://wordpress.org/support/users/nealreal/)
 * (@nealreal)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/warning-array_intersect/#post-5761024)
 * Never mind. It was a database issue. It had to be re-installed.
 *  [bonzeny](https://wordpress.org/support/users/bonzeny/)
 * (@bonzeny)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/warning-array_intersect/#post-5761163)
 * I have that sam problem how do you re-install the database???

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

The topic ‘Warning: array_intersect()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-access-control.svg)
 * [WordPress Access Control](https://wordpress.org/plugins/wordpress-access-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-access-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-access-control/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-access-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-access-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-access-control/reviews/)

## Tags

 * [argument](https://wordpress.org/support/topic-tag/argument/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [bonzeny](https://wordpress.org/support/users/bonzeny/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/warning-array_intersect/#post-5761163)
 * Status: not resolved