- This topic has 8 replies, 3 voices, and was last updated 6 years, 4 months ago by Tom.
-
AuthorPosts
-
December 10, 2017 at 3:11 am #446056Enrico
I found this error on first click on the menu’s items.
Uncaught TypeError: this.closest is not a function at VM27 dropdown.min.js:1
For each menu’s items I have one error the first time I enter in the page. The only difference is the WMxx number. If I click the same item on the menu the second time there is no error.
I see the errors with Chrome’s Developer Tool. To see again the error I have to clean the cache.
I don’t have this error only on one site with WordPress in english. On all the sites with WordPress in Italian I always have this error the first click.
The site I linked, to show you the problem, is in italian and you can also go to the english version that is immune.
I disable several plugin to see if it was a conflict but it was not.
December 10, 2017 at 10:02 am #446288LeoStaffCustomer SupportHi there,
I’m unable to get the error to show?
Have you fixed this?
If not can you provide a more specific instruction on how to trigger it?
December 10, 2017 at 11:17 am #446352EnricoHi Leo,
I checked again now on the italian site I gave you, the error is still alive π On the english version of the site there is no error.1) Check if the menu is in italian, if not from the menu change to the italian site.
2) Clean the browser cache. Open Chrome Developer tool (I tested with crome 63 and 65)
3) On console panel check the mark on Preserve log.
4) Click on the menu to change pages.If you don’t log the error you see only a little delay before it goes to the page.
I found one of my site in italian that is also immune. So the language is not the key.
December 10, 2017 at 6:55 pm #446514TomLead DeveloperLead DeveloperHere’s what I’m seeing: https://www.screencast.com/t/c5kO1qZ4vN
Am I doing something wrong?
closest()
is a native javascript function that should work fine in Chrome. Language itself shouldn’t matter at all.December 11, 2017 at 1:02 am #446655EnricoHi Tom,
the only difference I see is that you use the desktop view in the Debug console and I simulate a mobile view.I simulated an iPad pro on the debug consol and it is immue since it is a desktop view.
So probably the problem is only on mobile.See it here https://www.useloom.com/share/2551f7219fce4282b3c997a9f6a666f5 to see the problem on my side.
December 11, 2017 at 10:52 am #447105TomLead DeveloperLead DeveloperConfirmed and fixed in 2.0.1. Thank you! π
December 14, 2017 at 11:34 am #449658TomLead DeveloperLead Developer2.0.1 was just released.
Thanks!
December 14, 2017 at 12:56 pm #449706EnricoTested and no more errors.
Thanks a lot Tom!December 14, 2017 at 1:00 pm #449708TomLead DeveloperLead DeveloperThank you for reporting! π
-
AuthorPosts
- You must be logged in to reply to this topic.