• Resolved denia11

    (@denia11)


    Good time of day, I’m having an issue with any login page on my website. The error messages are not showing up once a wrong email or password has been entered, once WP Crowdfunding is disabled, everything works fine.
    Please assist with this issue.
    Kind Regards

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello @denia11,

    I visited your site and noticed you have a login/registration form that’s rendering from elementor and not from WP Crowdfunding plugin. I didn’t find our crowdfunding plugin installed on your site.

    WPCF plugin creates 4 default pages after installation- WPCF registration form is one of them. You can navigate to WPCF settings > woocommerce tab to ensure WPCF registration form is unaltered, active and assigned to the plugin.

    Thread Starter denia11

    (@denia11)

    Thank you for your reply, I have been trying to fix the problem myself since your reply. However, the messages are still not showing up.
    You have mentioned you can not find the crowdfunding plugin installed, here is a link where you can clearly see that I am using the plugin : https://nvestor.kz/uslugi/proekti/the-first/
    Please understand that when I disable the plugin the error messages show up.
    Could you please navigate me to the file where any filters or hooks or any changes are made to the error messages for registration or login in your plugin, and recommend how to change or delete the code that will make the messages show up.
    Thank you in advance!

    Hello @denia11,

    I visited your site and tried to access cf-dashboard page using an unregistered email and password but it was redirecting me to your WordPress login page. I’m presuming you have either changed new user default role from Subscriber to any other custom role or you may be using a 3rd party membership plugin that is interfering with the login page to display a warning in case of using invalid/unregistered username and password. Please navigate to WordPress settings > general and switch the new user default role to “Subscriber” and temporarily disable your 3rd party plugins to see if you get the warning > ERROR: Invalid username and/or password.

    Thread Starter denia11

    (@denia11)

    Hello Munayam
    Thank you for your prompt reply!
    I have done as you asked, indeed the settings were set to member instead of subscriber, however, it didn’t fix the problem, deactivating all the plugins and leaving elementor, woocommerce and the crowdfunding plugin didn’t fix the problem either. Once I deactivated the crowdfunding plugin everything worked well. I also noticed that the error messages show up on the WordPress login page but not on my custom and woocommerece account page only.
    Best Regards Denia11

    Thread Starter denia11

    (@denia11)

    Update
    I also have created a fresh wordpress install, added only the woocommerce plugin and the crowdfunding plugin, and used the twenty twenty-one theme. The problem still presists.

    Hello @denia11,

    Please send email to support at themeum dot com and we will take a closer look at the issue.

    well hello the problem is coming on wp crowd funding plugin as it is taking the user to a url /?login=failed instead of the page where normal user will get the error msg i am facing same problem on my website and i need the solution how to stop plugin from forcing the site to visit to this url and if i can’t how can i add custom error msgs to this url /?login=failed.

    Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Hello @armaank,

    Got to this following path wp-content/plugins/wp-crowdfunding/wp-crowdfunding.php line number 59-67. Replace this code with the existing code

    add_action( 'wp_login_failed', 'wpcf_front_end_login_fail' );  // hook failed login
    function wpcf_front_end_login_fail( $username ) {
        $referrer = $_SERVER['HTTP_REFERER'];
        if(strpos( $referrer, 'cf-dashboard') !== false) { 
            if ( !empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin') ) {
                $explode        =   explode('?', $referrer);
                $original       =   $explode[0];
                wp_redirect( $original . '?login=failed' ); 
                exit;
            }
        }
    }
    Thread Starter denia11

    (@denia11)

    Thank you man!
    Worked like a charm.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not showing error message on Login’ is closed to new replies.