• Resolved sugandh21

    (@sugandh21)


    I’m getting this error on the login page:

    [DOM] Found 2 elements with non-unique id #redirect_to: (More info: https://goo.gl/9p2vKq) <input type=?”hidden” name=?”redirect_to” id=?”redirect_to” value=?”<my-page>?”>? <input type=?”hidden” name=?”redirect_to” id=?”redirect_to” value=?”<my-page>?”>?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @sugandh21,

    It looks like a conflict with your theme or one of your plugins.
    Please try to do a quick conflict test so we can rule out conflicts with your theme or other plugins and see if this issue goes away. Here is the doc on how to do a conflict test if you are not sure how to do it.

    Regards.

    Thread Starter sugandh21

    (@sugandh21)

    Hi,

    I have tried the conflict test and the error still persists with all plugins deactivated. The theme I am using is 2017 but just for the sake of testing, I did try on 2015. This error started showing up after the latest update of the plugin. It wasn’t there before.

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @sugandh2,

    Have you added any custom fields to your login form?
    Can you please attach screenshots of your login form and login page.

    Regards.

    Thread Starter sugandh21

    (@sugandh21)

    No custom fields have been added. The login form is default.
    I happen to be making another project so I tried on a fresh install of WordPress and it threw the same error.

    I commented

    if ( ! empty( $url ) ) {
    		echo '<input type="hidden" name="redirect_to" id="redirect_to" value="' . esc_url( $url ) . '" />';
    	}

    in um-actions-misc.php line 66-68. This seems to solve it.

    • This reply was modified 6 years, 4 months ago by sugandh21.
    Thread Starter sugandh21

    (@sugandh21)

    UPDATE: just updated the plugin to 2.0.32 and the error got resolved.
    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Login Page Error’ is closed to new replies.