Title: Warning: array_push() expects parameter 1 to be array,
Last modified: August 22, 2016

---

# Warning: array_push() expects parameter 1 to be array,

 *  Resolved [saekawaii](https://wordpress.org/support/users/saekawaii/)
 * (@saekawaii)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/warning-array_push-expects-parameter-1-to-be-array/)
 * Hello 🙂
    Aweeesome plugin! I love it so much!
 * Is it normal to get this in the login screen when someone tryes to use the old**
   _wp-admin_**_ after you’ve alredy changed it to your own?_
 * The thing that shows on my 404 page is:
 * **Warning: array_push() expects parameter 1 to be array, null given in /home/…/
   public_html/wp-content/themes/…/functions.php on line 1009**
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/warning-array_push-expects-parameter-1-to-be-array/#post-5419472)
 * Hi saekawaii, one of the plugin developers will look into that Warning message.
   Thank you for reporting it.
 * Kind regards
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/warning-array_push-expects-parameter-1-to-be-array/#post-5419563)
 * [@saekawaii](https://wordpress.org/support/users/saekawaii/),
    That sounds like
   something related to your theme. Can you try a quick and simple test. Activate
   one of the native wordpress themes (eg, twentythirteen) and perform the login
   test and check if you get the same error.
 *  Thread Starter [saekawaii](https://wordpress.org/support/users/saekawaii/)
 * (@saekawaii)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/warning-array_push-expects-parameter-1-to-be-array/#post-5419596)
 * Hey 🙂
    Thank you for your help.
 * It really was theme related.
    I wouldn’t think about it if it wasn’t for you.
 * Thank you very much ♥

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

The topic ‘Warning: array_push() expects parameter 1 to be array,’ is closed to 
new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [array_push](https://wordpress.org/support/topic-tag/array_push/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [login screen](https://wordpress.org/support/topic-tag/login-screen/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * 3 replies
 * 3 participants
 * Last reply from: [saekawaii](https://wordpress.org/support/users/saekawaii/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/warning-array_push-expects-parameter-1-to-be-array/#post-5419596)
 * Status: resolved