WordPress.org

Ready to get started?Download WordPress

Forums

Mail Subscribe List
[resolved] URGENT: After updating to the new version I get this error: unexpected T_IF (8 posts)

  1. TJ1
    Member
    Posted 10 months ago #

    This is the error that I get after upgrading this plugin to the version 2.08:
    Parse error: syntax error, unexpected T_IF in /home/user/minutify.com/wp-content/plugins/mail-subscribe-list/sml.php on line 104

    Can you please help resolve this?
    My website is down for this.

    Thanks.

    http://wordpress.org/extend/plugins/mail-subscribe-list/

  2. Chris
    Member
    Posted 10 months ago #

    if (isset($_POST['sml_subscribe_submitted']) && if(current_user_can('edit_theme_options'))) {

    should be
    if (isset($_POST['sml_subscribe_submitted']) && (current_user_can('edit_theme_options'))) {

    on line 104

  3. Richard Leishman
    Member
    Plugin Author

    Posted 10 months ago #

    I am ever so sorry about the problem, this is now fixed in 2.0.9.

    Either reinstall the plugin or replace /wp-content/plugins/mail-subscribe-list/sml.php with the following file: http://plugins.svn.wordpress.org/mail-subscribe-list/tags/2.0.9/sml.php

    Richard

  4. Chris
    Member
    Posted 10 months ago #

    If you are using any HTML in the widget header text or thank you text, you'll want to change line 250 of sml.php to
    echo stripslashes($args['after_widget']);

  5. jhabs90
    Member
    Posted 10 months ago #

    I can't find version 2.0.9? Only 2.0.8.

  6. Richard Leishman
    Member
    Plugin Author

    Posted 10 months ago #

    Chris, I would love to implement your fixes and give you a mention, could you drop me a Skype? mr.leishman

  7. Richard Leishman
    Member
    Plugin Author

    Posted 10 months ago #

    jhabs90: I am waiting on WordPress to release it, can be found here, http://downloads.wordpress.org/plugin/mail-subscribe-list.2.0.9.zip

  8. jhabs90
    Member
    Posted 10 months ago #

    Thank you!

Reply

You must log in to post.

About this Plugin

About this Topic