Title: A few errors
Last modified: August 20, 2016

---

# A few errors

 *  [johnnyp14](https://wordpress.org/support/users/johnnyp14/)
 * (@johnnyp14)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/a-few-errors/)
 * I’m getting a few errors still after deleting and re-installing the plugin. Just
   above my plugin call, I get:
 * Notice: Undefined index: sml_subscribe in /home/mysite/public_html/mysite.com/
   wp-content/plugins/mail-subscribe-list/sml.php on line 71
 * Also, when accessing the Subscribers menu in WordPress that says:
    Notice: Undefined
   variable: message in /home/mysite/public_html/mysite.com/wp-content/plugins/mail-
   subscribe-list/index.php on line 62
 * Any ideas? Thanks in advance!
 * [http://wordpress.org/extend/plugins/mail-subscribe-list/](http://wordpress.org/extend/plugins/mail-subscribe-list/)

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

 *  Plugin Contributor [Richard Leishman](https://wordpress.org/support/users/webfwd/)
 * (@webfwd)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/a-few-errors/#post-3426398)
 * Hi Johnnyp14,
 * It sounds like you have one of our very early versions of the plugin, please 
   ensure that you update it to the latest version.
 * Richard
 *  [Miguel López](https://wordpress.org/support/users/neowedge/)
 * (@neowedge)
 * [13 years ago](https://wordpress.org/support/topic/a-few-errors/#post-3426443)
 * This occurs in the last version of the plugin (2.0.7). It is comparing an emty
   variable with false, and PHP show notices in development envirionments.
 * Next version I would change:
 * wp-content/plugins/mail-subscribe-list/sml.php on line 71
 * THIS:
 * if ($_POST[‘sml_subscribe’]) {
 * FOR THIS:
 * if (isset($_POST[‘sml_subscribe’]) && $_POST[‘sml_subscribe’]) {
 * AND
 * /wp-content/plugins/mail-subscribe-list/index.php on line 62
 * THIS:
 * if (!$message) { echo ‘<div style=”padding: 5px;” class=”updated”><p>’.$message.'
   </p></div>’; }
 * FOR THIS:
 * if (!empty($message)) { echo ‘<div style=”padding: 5px;” class=”updated”><p>’.
   $message.'</p></div>’; }
 * Miguel.
 *  [Miguel López](https://wordpress.org/support/users/neowedge/)
 * (@neowedge)
 * [13 years ago](https://wordpress.org/support/topic/a-few-errors/#post-3426444)
 * Sorry!
 * The error of ‘wp-content/plugins/mail-subscribe-list/sml.php’ occurs at line 
   267 in my installation, instead of 71.
 * The solution it’s the same (changing the line) ;).

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

The topic ‘A few errors’ is closed to new replies.

 * ![](https://ps.w.org/mail-subscribe-list/assets/icon-128x128.png?rev=1158481)
 * [Mail Subscribe List](https://wordpress.org/plugins/mail-subscribe-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mail-subscribe-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mail-subscribe-list/)
 * [Active Topics](https://wordpress.org/support/plugin/mail-subscribe-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mail-subscribe-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mail-subscribe-list/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [Miguel López](https://wordpress.org/support/users/neowedge/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/a-few-errors/#post-3426444)
 * Status: not resolved