Title: expects parameter 2 to be array, boolean given
Last modified: April 12, 2020

---

# expects parameter 2 to be array, boolean given

 *  Resolved [djp](https://wordpress.org/support/users/jinpingdai/)
 * (@jinpingdai)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array-boolean-given/)
 * Warning: in_array() expects parameter 2 to be array, boolean given in /www/wwwroot/
   www.slingshooting.com/wp-content/plugins/woorewards/modules/woorewards-pro/include/
   ui/endpoints/loyalty.php on line 317
 * I have above warning message at my website when the user clicks login.
    please
   support, thanks

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

 *  Plugin Author [Long Watch Studio – Code Faeries](https://wordpress.org/support/users/lwsdevelopers/)
 * (@lwsdevelopers)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array-boolean-given/#post-12382010)
 * Hello,
 * It is a WooRewards Pro issue and does not concern the standard version of WooRewards.
 * Please send a support request directly to our pro support by sending a mail to
   [support@longwatchstudio.com](https://wordpress.org/support/topic/expects-parameter-2-to-be-array-boolean-given/support@longwatchstudio.com?output_format=md)
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 1 month ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array-boolean-given/#post-12662739)
 * For pro or commercial product support please contact the author directly on their
   site. This includes any pre-sales topics as well.
 * As the author is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.

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

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

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

 * 2 replies
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array-boolean-given/#post-12662739)
 * Status: resolved