Uncaught ReferenceError: wp_localize_script_autocomplete is not defined
1 year, 8 months ago #27924
i enabled the suggestions option, and in incognito i get this js error:
should i exclude this file from cache or any known issue?1 year, 8 months ago #27927
Please replace your current WPSOLR version with this release, and clear your caches: https://www.dropbox.com/s/hqj4ia77jloh3rd/wpsolr-pro-fix-js-when-html-optimised.zip?dl=0
The release includes the following fixes/improvements:
still got js error, but changed a bit, cleared caches of course.
https://snipboard.io/styrNW.jpg1 year, 8 months ago #27937
I could replicate the issue with WP Rocket deferred js loading, but could not find a quick fix.
Try to add exclusions on file autocomplete_solr.js
Added to roadmap: https://trello.com/c/HIO2YKFA/179-fix-issue-with-deferred-js-loading-with-wp-rocket1 year, 8 months ago #27940
ok fixed it for now, with excuding jquery from delay and deffer, just use this string in wp rocket exclude on deffer and delay js:
You must be logged in to reply to this topic.