Title: error line 365
Last modified: September 1, 2016

---

# error line 365

 *  Resolved [jfrutuoso](https://wordpress.org/support/users/jfrutuoso/)
 * (@jfrutuoso)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-line-365/)
 * user reporting getting this message below when creating a new user account on
   my site.
 * Warning: array_push() expects parameter 1 to be array, boolean given in /home/
   oldcolonybeach/public_html/wp-content/plugins/wp-email-users/wp-email-users.php
   on line 365
 * [https://wordpress.org/plugins/wp-email-users/](https://wordpress.org/plugins/wp-email-users/)

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

 *  Plugin Author [Techspawn](https://wordpress.org/support/users/techspawn1/)
 * (@techspawn1)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-line-365/#post-7512539)
 * Thanks for reporting.
 * We are trying to recreate this warning at our end. Can you please explain steps
   when you are getting this warning?
 * I am sure this is not for admin.
 *  Thread Starter [jfrutuoso](https://wordpress.org/support/users/jfrutuoso/)
 * (@jfrutuoso)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-line-365/#post-7512558)
 * was creating a new user account via the login page.
    completed all required information
   and submitted. returned to the home oage with that message across the top of 
   the page.
 * User was created.and received a website generated confirmation for Subrcribe2
   as normal.
 *  Plugin Author [Techspawn](https://wordpress.org/support/users/techspawn1/)
 * (@techspawn1)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-line-365/#post-7512648)
 * We again tried it with subscribe2 but no luck. we haven’t received such warning.
   
   though I will suggest you (if you can play with code and files) to please go 
   to /plugins/wp-email-users/ directory >> wp-email-users.php file line no. 365
   and replace line
 *     ```
       array_push($to, $useremail);
       ```
   
 * with
 *     ```
       if(is_array($to)) {
       	array_push($to, $useremail);
       }
       ```
   
 * Hope this resolves your warning.

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

The topic ‘error line 365’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-email-users_59bcfd.svg)
 * [WP Email Users](https://wordpress.org/plugins/wp-email-users/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-email-users/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-email-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-email-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-email-users/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Techspawn](https://wordpress.org/support/users/techspawn1/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/error-line-365/#post-7512648)
 * Status: resolved