Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Change reset password link in form

  • Resolved arminghasemazar


    Hi. Before upgrading to the latest version (2.12.3), the below php snippet was working perfectly.
    add_filter( ‘lostpassword_url’, ‘my_lostpassword_url’, 10, 0 );
    function my_lostpassword_url() {
    return site_url(‘/donor-login/reset-password/’);

    But something has happened. Basically, my reset password url is different that default. I face fatal error, as below.

    Fatal error: Uncaught Error: Class name must be a valid object or a string in /var/www/ Stack trace: #0 /var/www/ Give\Form\Templates->getTemplateObject(NULL) #1 /var/www/ Give\Form\Templates->getTemplate() #2 /var/www/ Give\Controller\Form->loadDonationFormView('') #3 /var/www/ WP_Hook->apply_filters(NULL, Array) #4 /var/www/ WP_Hook->do_action(Array) #5 /var/www/ do_action('template_redire...') #6 /var/www/ require_once('/var/www/') #7 /var/www/ require('/var/www/') #8 {m in /var/www/ on line 112

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Change reset password link in form’ is closed to new replies.