Uncaught TypeError
-
Hello.
Using your plugin with Newsup theme, i get several of those:
Uncaught TypeError: Bootstrap’s tooltips require Popper.js (https://popper.js.org/)
Any ideas?
Thanks
-
Hi
Under WP settings > AyeCode UI > check the default settings are set. If they are please provide your site URL and I will check the console log.
Thanks,
Stiofan
Hello.
Everything is default.
Here is a staging link, valid for 2 days.
https://www.temporary-url.com/A0EB
Thank you
Thanks for the info, it looks like your theme is also loading bootstrap.
I have not tested this but i think this code snippet should work. You can either add it to a child theme functions file or use the “code snippets” plugin.add_action('wp_enqueue_scripts', 'my_disable_theme_bootstrap', 100); function my_disable_theme_bootstrap(){ wp_dequeue_script( 'bootstrap' ); wp_dequeue_style( 'bootstrap' ); }Let me know how you get on.
Thanks,
Stiofan
Hello.
Using that snippet, brakes visually (and possible otherwise) the whole site.
Ah sorry, i forgot to mention to put our bootstrap settings in “full mode” instead of compatibility mode. WP Settings > AyeCode UI > Frontend > Load CSS > Full Mode.
That should fix things but if you have any issues let me know.
Thanks
Stiofan
Well things got better, still some visual issues.
But this error is still present:
Uncaught TypeError: query_url is undefined
/wp-content/plugins/geodirectory/assets/aui/js/map.min.js?ver=2.2.5:1
build_map_ajax_search_param—
Uncaught ReferenceError: GeoDir_Business_Hours is not defined
__
I things are getting hairy, so maybe i should not use that plugin.
hmm, i don’t see that error, what page do you see that on?
I do see that the ninjafirewall plugin is blocking API requests so the map won’t load, maybe its releated.Thanks,
Stiofan
ok, thanks. I will spend today trying to figure this out. And update here.
If you need further support feel free to open a ticket with our support team here: https://wpgeodirectory.com/support/
Thanks,
Stiofan
I was able to fix all those issues, i hope this will not break the theme somewhere.
Thank you for your help in this issue.
-
This reply was modified 4 years, 2 months ago by
dimal.
Awesome! 🙂
If you hit any issues just let me know.
Thanks,
Stiofan
One more question.
I have found that if i enable in the ui Load JS-> Popper, everything works right, without the need to dequeue anything.
Is that acceptable? I have used the plugin for an hour, added, deleted, changed, things, without any issues or errors anywhere.
I think my original guidance is best as it would load less JS files but if you are having issues then yes it’s acceptable to do it that way.
Thanks,
Stiofan
Using the dequeu method, i see some visual issues, like
https://drive.google.com/file/d/11toYC0LzZMbqd6TZi7LBWhj3dFuzwdDs/view?usp=sharing
OK that is strange, your theme version of bootstrap might be modified slightly, it might be required to load both.
Stiofan
-
This reply was modified 4 years, 2 months ago by
The topic ‘Uncaught TypeError’ is closed to new replies.