1.2.2 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
- The topic ‘1.2.2 throws undefined variable: pluginName Notice’ is closed to new replies.