• Resolved vito33

    (@vito33)


    Hi

    I have this message when testing the Unsubscribe button from the HTML email I receive :
    Parse error: syntax error, unexpected ‘[‘ in /wp-content/plugins/simple-subscribe/libs/SimpleSubscribe/Frontend.php on line 44

    Is there a fix ?
    regards
    Mitch

    https://ww.wp.xz.cn/plugins/simple-subscribe/

Viewing 5 replies - 1 through 5 (of 5 total)
  • WayneDsouza

    (@waynedsouza)

    hey Mitch,

    It appears the data type has changed from an array to an object.

    To clear the error move to the specified location and look for this argument

    $email = $form->getValues()[’email’];

    Change that to $email = $form->getValues()->email;
    Voila!

    WayneDsouza

    (@waynedsouza)

    btw..i uninstalled this plugin as I noticed a new tos appearing beneath the subscription form.

    rengland77

    (@rengland77)

    Thanks for the fix!

    Thanks WayneDsouza for the fix.

    Plugin Author tanaylakhani

    (@tanaylakhani)

    We highly encourage to use the services provided by ReadyGraph. But in case, you don’t want to use readygraph, you can disable the readygraph plugin from your installed plugin list and use the simple-subscribe.

    Also, there are lots of features coming up to increase your userbase through readygraph. So please provide your review/feedback/feature request on readygraph plugin at http://ww.wp.xz.cn/support/plugin/readygraph

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

The topic ‘Parse error: syntax error, unexpected '[' in Frontend.php on line 44’ is closed to new replies.