Support » Plugin: Official MailerLite Sign Up Forms » Undefined variable: mailerlite_error

  • Resolved alx359

    (@alx359)


    I’m getting the debug log filled with these:

    PHP Notice: Undefined variable: mailerlite_error in plugins\official-mailerlite-sign-up-forms\include\templates\admin\header.php on line 3

    Line 3 reads:
    <?php if ( $mailerlite_error ): ?>

    Tweaked it to this and seems to work:
    <?php if ( isset($mailerlite_error) && $mailerlite_error ): ?>

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • pathetix

    (@pathetix)

    I’m getting this error as well in the admin screens.
    Will try the tweak thanks!

    Plugin Author mailerlite

    (@mailerlite)

    Hello alx359 and pathetix,

    Sorry for the troubles you had.

    We are going to launch an update soon to fix this issue.

    Stay tuned!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined variable: mailerlite_error’ is closed to new replies.