• Resolved Azamat Xodjakov

    (@azamat88)


    This is the error I’m getting in the browser console:

    (index):1 [DOM] Found 3 elements with non-unique id #lang: (More info: https://goo.gl/9p2vKq)
    <input type=?"hidden" name=?"lang" id=?"lang" value=?"en">?
    <input type=?"hidden" name=?"lang" id=?"lang" value=?"en">?
    <input type=?"hidden" name=?"lang" id=?"lang" value=?"en">?

    Everything was okay before the update. I’m using Polylang plugin for multilanguage feature.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Azamat,

    This error in console is due to following hidden element added at multiple places.
    <input type="hidden" name="lang" id="lang" value="en">

    I can see you are using another plugin called login with ajax and it is adding form in hidden div which may be displayed in a popup. So Polylang is adding the above input code to all the forms and it generates an error of multiple occurrences of the same id. I suggest you check after deactivating the login with ajax plugin and let us know if it resolves this error or not.

    Regards,
    Patrik

    Thread Starter Azamat Xodjakov

    (@azamat88)

    Sorry, it had nothing to do with your plugin. When I deactivated “Login with Ajax” plugin the error was gone.

    Good to know your issue resolved. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘non-unique id error after update’ is closed to new replies.