• Resolved Seb

    (@ssamyn)


    Hi !

    I have an issue with the “live search” option on the front end sign up form to search for volunteers in the WordPress users table. Nothing happens and I have the following errors in the Firefox JS console:

    
    Error: no such method 'instance' for menu widget instance jquery.js:2:1814
    	error https://DOMAIN/wp-includes/js/jquery/jquery.js:2:1814
    	e.widget.bridge/e.fn[i]/< https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:6061
    	each https://DOMAIN/wp-includes/js/jquery/jquery.js:2:2879
    	each https://DOMAIN/wp-includes/js/jquery/jquery.js:2:844
    	e.widget.bridge/e.fn[i] https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:5893
    	_create https://DOMAIN/wp-includes/js/jquery/ui/autocomplete.min.js:11:2092
    	e.widget/</l[i]</< https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:5027
    	_createWidget https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:7028
    	e.widget/e[u][i] https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:4587
    	e.widget.bridge/e.fn[i]/< https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:6306
    	each https://DOMAIN/wp-includes/js/jquery/jquery.js:2:2879
    	each https://DOMAIN/wp-includes/js/jquery/jquery.js:2:844
    	e.widget.bridge/e.fn[i] https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:6224
    	pta_volunteer_info https://DOMAIN/wp-content/plugins/pta-volunteer-sign-up-sheets/assets/js/frontend.js:6:11
    	<anonymous> https://DOMAIN/wp-content/plugins/pta-volunteer-sign-up-sheets/assets/js/frontend.js:50:9
    	i https://DOMAIN/wp-includes/js/jquery/jquery.js:2:27444
    	fireWith https://DOMAIN/wp-includes/js/jquery/jquery.js:2:28213
    	ready https://DOMAIN/wp-includes/js/jquery/jquery.js:2:30004
    	K https://DOMAIN/wp-includes/js/jquery/jquery.js:2:30366
    
    
    TypeError: this.menu is undefined[Learn More] autocomplete.min.js:11:4801
    	_searchTimeout/this.searching< https://DOMAIN/wp-includes/js/jquery/ui/autocomplete.min.js:11:4801
    	i https://DOMAIN/wp-content/themes/dante/js/combine/jquery-ui-1.10.2.custom.min.js:6:9208
    

    Thanks for your help !
    Kind regards,

    • This topic was modified 6 years, 3 months ago by Seb.
    • This topic was modified 6 years, 3 months ago by Seb.
Viewing 1 replies (of 1 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    Sorry, never got any notification of this support topic… probably because my email system filters out anything that looks like javascript.

    Based on a quick look at what you sent, it looks like a problem with some other javascript code… specifically, looks like maybe your theme is trying to compact all javascript into one combined js file, and that is throwing an error and causing problems. Could possibly be that some other plugin, or theme file, is trying to queue up an older/different version of autocomplete than my plugin, and that’s causing an issue.

    Hard for me to know for sure what’s going on unless I could somehow reproduce the issue here, which I can’t because it’s all working fine here.

    My autocomplete script doesn’t use “menu” anywhere as an object, and is not used as a widget, so those errors are probably being thrown before my script has had a chance to run, and those errors are basically causing any other scripts on the page to break.

    That’s my best guess from what you have provided, and not anything I can do about it here.

Viewing 1 replies (of 1 total)
  • The topic ‘“live search” JS error’ is closed to new replies.