• Resolved emanuelx

    (@emanuelx)


    I, i am trying create a new page for unsubscribe user, but when i dot the unsubscribe is shown an error about undefined var on line 625 on file classes/class-s2-core.php on line 625

    Notice: Undefined variable: what in /var/www/html/wp-content/plugins/subscribe2/classes/class-s2-core.php on line 625

    can someone tells me how i can fix this issue?

    thanks

Viewing 1 replies (of 1 total)
  • @emanuelx

    If you open that file in an editor is line 625 like this:

    $body = apply_filters( 's2_confirm_email', stripslashes( $this->subscribe2_options['confirm_email'] ), $what );

    If it is change that to:

    $body = apply_filters( 's2_confirm_email', stripslashes( $this->subscribe2_options['confirm_email'] ) );

Viewing 1 replies (of 1 total)

The topic ‘undefined var $what’ is closed to new replies.