Title: 1.2.2 throws undefined variable: pluginName Notice
Last modified: September 1, 2016

---

# 1.2.2 throws undefined variable: pluginName Notice

 *  [ronherren](https://wordpress.org/support/users/ronherren/)
 * (@ronherren)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/122-throws-undefined-variable-pluginname-notice/)
 * Hello Jason,
 * You are missing a statement to access the global variable, ‘$pluginName,’ within
   the mcs_hastag function in mc-signup.php.
 * Here is the error notice:
 * `Notice: Undefined variable: pluginName in /srv/www/ccirentals-com/wp-content/
   plugins/mailchimp-sign-up/mc-signup.php on line 37`
 * Here is the solution:
 *     ```
       function mcs_hashtag() {
       		global $pluginName;
       		return sha1($pluginName);
       	}
       ```
   
 * Thank you,
    Ron
 * [https://wordpress.org/plugins/mailchimp-sign-up/](https://wordpress.org/plugins/mailchimp-sign-up/)

The topic ‘1.2.2 throws undefined variable: pluginName Notice’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailchimp-sign-up_464548.svg)
 * [MailChimp Sign Up](https://wordpress.org/plugins/mailchimp-sign-up/)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-sign-up/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-sign-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-sign-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-sign-up/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ronherren](https://wordpress.org/support/users/ronherren/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/122-throws-undefined-variable-pluginname-notice/)
 * Status: not resolved