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

  • Resolved arminghasemazar

    (@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/rwb.charity/public_html/wp-content/plugins/give/src/Form/Templates.php:112 Stack trace: #0 /var/www/rwb.charity/public_html/wp-content/plugins/give/src/Form/Templates.php(98): Give\Form\Templates->getTemplateObject(NULL) #1 /var/www/rwb.charity/public_html/wp-content/plugins/give/src/Controller/Form.php(125): Give\Form\Templates->getTemplate() #2 /var/www/rwb.charity/public_html/wp-includes/class-wp-hook.php(303): Give\Controller\Form->loadDonationFormView('') #3 /var/www/rwb.charity/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #4 /var/www/rwb.charity/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #5 /var/www/rwb.charity/public_html/wp-includes/template-loader.php(13): do_action('template_redire...') #6 /var/www/rwb.charity/public_html/wp-blog-header.php(19): require_once('/var/www/rwb.ch...') #7 /var/www/rwb.charity/public_html/index.php(17): require('/var/www/rwb.ch...') #8 {m in /var/www/rwb.charity/public_html/wp-content/plugins/give/src/Form/Templates.php on line 112

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.