Title: in_array() expects parameter 2 to be array,
Last modified: May 3, 2022

---

# in_array() expects parameter 2 to be array,

 *  [loukky](https://wordpress.org/support/users/loukky/)
 * (@loukky)
 * [4 years ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-8/)
 * Warning: in_array() expects parameter 2 to be array, bool given in wp-content/
   plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php on line 1540
 * Warning: array_flip() expects parameter 1 to be array, bool given in wp-content/
   plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php on line 1544
 * Warning: in_array() expects parameter 2 to be array, null given in wp-content/
   plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php on line 1547

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

 *  [Maurizio Zani](https://wordpress.org/support/users/mauriziozani/)
 * (@mauriziozani)
 * [4 years ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-8/#post-15612766)
 * Idem for me…
 *  [WPKube Support](https://wordpress.org/support/users/wpkubehelp/)
 * (@wpkubehelp)
 * [4 years ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-8/#post-15613730)
 * Hi [@loukky](https://wordpress.org/support/users/loukky/) [@mauriziozani](https://wordpress.org/support/users/mauriziozani/)
 * For the temporary solution before its fixed within the plugin in the upcoming
   update, can you visit `StCR -> Options` section and then just save the changes
   and see if that helps you out to resolve this issue?
 *  [petraschier](https://wordpress.org/support/users/petraschier/)
 * (@petraschier)
 * [4 years ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-8/#post-15615881)
 * Same problem here!
    -  This reply was modified 4 years ago by [petraschier](https://wordpress.org/support/users/petraschier/).
 *  [petraschier](https://wordpress.org/support/users/petraschier/)
 * (@petraschier)
 * [4 years ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-8/#post-15615898)
 * “visit StCR -> Options section and then just save the changes” helped to solve
   the problem, at least temporarily. I don’t know if the problem will show up again.
 *  Thread Starter [loukky](https://wordpress.org/support/users/loukky/)
 * (@loukky)
 * [4 years ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-8/#post-15616008)
 * I downgrade to V211130

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

The topic ‘in_array() expects parameter 2 to be array,’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subscribe-to-comments-reloaded_f0f9fc.
   svg)
 * [Subscribe To Comments Reloaded](https://wordpress.org/plugins/subscribe-to-comments-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe-to-comments-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [loukky](https://wordpress.org/support/users/loukky/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-8/#post-15616008)
 * Status: not resolved