2017 theme conflict login issue

Cannot login via /account page of the default Membership 2 Pro plugin, when TwentySeventeen theme is activated. It's getting redirected to a 404 page, with the url:
siteURL.com/account/login

On further testing, the issue resolves once SmartCrawl plugin is deactivated. Please check the chat notes for more info.

  • Ash

    Hello MaximillianGroup Inc

    Actually, the problem starts with Membership2. We have a known bug with login shortcode that happens in a very specific scenario and unluckily, your setup is similar to that scenario. For some reasons, the scripts are enqueued just after the login form instead of footer, so that's creating the js error.

    The bug in M2 is fixed and currently is under QA team. Once it's passed from QA, it will be released. We appreciate your patience on this.

    As a quick fix, you can disable ajax login by using the following code:

    add_filter( 'ms_shortcode_ajax_login', '__return_false' );

    You can use this code in your child theme's functions.php if the theme is not changed. Otherwise mu-plugin is the best option. To create a mu-plugin, go to wp-content/mu-plugins folder. If there is no mu-plugins folder then, create one. Now, inside the mu-plugins folder create file with name anything.php (make sure file extension is .php). Now start with a <?php tag and then put the above code.

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,
    Ash

  • Ash

    Hello MaximillianGroup Inc

    Pro Site doesn't have any such issue. But in your case, as you have M2 and Pro Sites, so M2 bug can break the pro sites form though it's quite unusual.

    To keep the issues separate, would you please initiate a new chat session with the support team? You can start here: https://premium.wpmudev.org/live-support/ :slight_smile: If they can solve, they will create a ticket for you :slight_smile:

    Thank you, by the way - you have all been very AMAZING to work with.

    Thank you so much for nice words, that's our inspiration :slight_smile:

    Have a nice day!

    Cheers,
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.