Title: php error: $reset_pass_url undefined
Last modified: August 30, 2016

---

# php error: $reset_pass_url undefined

 *  [gufino2](https://wordpress.org/support/users/gufino2/)
 * (@gufino2)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-error-reset_pass_url-undefined/)
 * Hi!
    I just installed the latest version of this plugin, and when someone tries
   to register, I got a php error saying in line 373 of sb_welcome_email_editor.
   php there’s an undefined variable named $reset_pass_url . I took a look into 
   the file and I noticed this variable is actually not defined anywhere. Right 
   now I fixed it adding the line:
 * `$reset_pass_url=wp_lostpassword_url();`
 * before line 373, but I don’t know if that’s the right way to approach it.
    Any
   info about it?
 * [https://wordpress.org/plugins/welcome-email-editor/](https://wordpress.org/plugins/welcome-email-editor/)

Viewing 1 replies (of 1 total)

 *  [mluecke](https://wordpress.org/support/users/mluecke/)
 * (@mluecke)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-error-reset_pass_url-undefined/#post-6759984)
 * Hi,
 * I have seen the same bug:
    Notice: Undefined variable: reset_pass_url in /homepages/…/
   welcome-email-editor/sb_welcome_email_editor.php on line 373
 * There is no isse.
    They use the same php-versions – the same hoster…
 * @gufino: Soory I’m not so deep into the PHP-setings – can you explain a little
   more where you add your line:
    $reset_pass_url=wp_lostpassword_url();
 * Is there another solution?
 * THX
    Matthias

Viewing 1 replies (of 1 total)

The topic ‘php error: $reset_pass_url undefined’ is closed to new replies.

 * ![](https://ps.w.org/welcome-email-editor/assets/icon-256x256.png?rev=3015931)
 * [Swift SMTP (formerly Welcome Email Editor)](https://wordpress.org/plugins/welcome-email-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/welcome-email-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/welcome-email-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/welcome-email-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/welcome-email-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/welcome-email-editor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mluecke](https://wordpress.org/support/users/mluecke/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/php-error-reset_pass_url-undefined/#post-6759984)
 * Status: not resolved