Title: PHP Warning: in_array() expects parameter 2 to be array, string given in /publi
Last modified: April 30, 2021

---

# PHP Warning: in_array() expects parameter 2 to be array, string given in /publi

 *  [maltris](https://wordpress.org/support/users/maltris/)
 * (@maltris)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-warning-in_array-expects-parameter-2-to-be-array-string-given-in-publi/)
 * Hello,
 * I recently verified the debug.log of my site and noticed these warnings:
 * PHP Warning: in_array() expects parameter 2 to be array, string given in /public_html/
   wp-content/plugins/easy-login-addon-security/class-xoo-sel-core.php on line 143
 * The site is running PHP 7.3 and the plugin is at it latest patchlevel (2.1) with
   the Security Add-on (1.0).
 * Is this expected behaviour?
 * Thanks in advance

The topic ‘PHP Warning: in_array() expects parameter 2 to be array, string given
in /publi’ is closed to new replies.

 * ![](https://ps.w.org/easy-login-woocommerce/assets/icon-128x128.png?rev=1970613)
 * [Login & Register Customizer – Popup | Slider | Inline | WooCommerce](https://wordpress.org/plugins/easy-login-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-login-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-login-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-login-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-login-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-login-woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [maltris](https://wordpress.org/support/users/maltris/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/php-warning-in_array-expects-parameter-2-to-be-array-string-given-in-publi/)
 * Status: not resolved