Title: Undefined variable: from_name
Last modified: August 21, 2016

---

# Undefined variable: from_name

 *  Resolved [chrispo](https://wordpress.org/support/users/chrispo/)
 * (@chrispo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/)
 * I have this error, at the page:
    /wp-admin/admin.php?page=mailusers-send-to-user-
   page
 * Notice: Undefined variable: from_name in /usr/www/users/afsyar/wp-content/plugins/
   email-users/email_users_send_user_mail.php on line 103
 * Notice: Undefined variable: from_name in /usr/www/users/afsyar/wp-content/plugins/
   email-users/email_users_send_user_mail.php on line 104
 * ______
    and this error at the page: [http://www.afs-akademie.org/wp-admin/admin.php?page=mailusers-send-to-group-page](http://www.afs-akademie.org/wp-admin/admin.php?page=mailusers-send-to-group-page)
 * Notice: Undefined variable: from_name in /usr/www/users/afsyar/wp-content/plugins/
   email-users/email_users_send_group_mail.php on line 119
 * Notice: Undefined variable: from_name in /usr/www/users/afsyar/wp-content/plugins/
   email-users/email_users_send_group_mail.php on line 120
 * [https://wordpress.org/plugins/email-users/](https://wordpress.org/plugins/email-users/)

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

 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081591)
 * What steps are you using to get that error? Does your WordPress user ID have 
   a name associated with it?
 *  Thread Starter [chrispo](https://wordpress.org/support/users/chrispo/)
 * (@chrispo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081599)
 * I just installed the plugin.
    Then I clicked on the link “send to user (An Benutzer
   senden, german language)” at the admin menu.
 * Screenshot:
    [http://postimg.org/image/b0p363xp5/](http://postimg.org/image/b0p363xp5/)
 * Its just a Notice error.
    But perhaps, there is a way to clean this?
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081605)
 * Looking at the code, if for some reason your WordPress User ID doesn’t have information
   in the $user_identity global variable, this could happen. So this goes back to
   the question I asked earlier – does the WordPress User you’re running this under
   have the first and last name set in the user profile?
 *  Thread Starter [chrispo](https://wordpress.org/support/users/chrispo/)
 * (@chrispo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081610)
 * sorry. Yes, first name and last name are set
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081637)
 * I have replicated the problem and posted a beta release which fixes it if you
   want to try it out. You can [find the beta release on my web site](http://michaelwalsh.org/blog/2014/07/email-users-v4-6-10-beta-1-available/).
 *  Thread Starter [chrispo](https://wordpress.org/support/users/chrispo/)
 * (@chrispo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081644)
 * nice! thanks for the quick fix!
    now, everything looks good.
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081853)
 * Email Users v4.6.10 is out, marking this as resolved.

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

The topic ‘Undefined variable: from_name’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-users_a0e0cf.svg)
 * [Email Users](https://wordpress.org/plugins/email-users/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-users/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-users/)
 * [Active Topics](https://wordpress.org/support/plugin/email-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-users/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-from_name/#post-5081853)
 * Status: resolved