Title: Minor PHP array regarding in_array
Last modified: August 30, 2016

---

# Minor PHP array regarding in_array

 *  Resolved [Georgey B](https://wordpress.org/support/users/georgey-b/)
 * (@georgey-b)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/minor-php-array-regarding-in_array/)
 * Just downloaded version 4.15.45 and getting a PHP error regarding the use of 
   in_array:
 * Warning: in_array() expects parameter 2 to be array, null given in [my_directory]/
   wp-content/plugins/gotmls/index.php on line 876
 * Having said that, been using this plugin for about a year now and has worked 
   flawlessly since then.
 * [https://wordpress.org/plugins/gotmls/](https://wordpress.org/plugins/gotmls/)

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

 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/minor-php-array-regarding-in_array/#post-6761346)
 * Thanks Georgey B,
    I’ll have that PHP warning fixed in my next release. It should
   be pretty easy to fix so I should be ready to release it really soon…
 *  Plugin Author [Eli](https://wordpress.org/support/users/scheeeli/)
 * (@scheeeli)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/minor-php-array-regarding-in_array/#post-6761422)
 * I just release a plugin update with this fixed. Please download version 4.15.46
   and let me know if that resolved the issue for you.

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

The topic ‘Minor PHP array regarding in_array’ is closed to new replies.

 * ![](https://ps.w.org/gotmls/assets/icon-256x256.png?rev=1001824)
 * [Anti-Malware Security and Brute-Force Firewall](https://wordpress.org/plugins/gotmls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gotmls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gotmls/)
 * [Active Topics](https://wordpress.org/support/plugin/gotmls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gotmls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gotmls/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [Eli](https://wordpress.org/support/users/scheeeli/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/minor-php-array-regarding-in_array/#post-6761422)
 * Status: resolved