I'm a newbie here looking for some direction. I have searched for an answer to this topic on this forum and have come to a dead-end. I need to know how to fix Javascript error I found on my Console that is causing my gallery images not to appear on my gallery page. They're there but not visible.
Here is the copied error message from my console.
Uncaught ReferenceError: module is not defined
at envira-min.js?ver=1.6.1.4:9
at envira-min.js?ver=1.6.1.4:9
Uncaught TypeError: $(...).enviratope is not a function
at HTMLDocument.<anonymous> ((index):325)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
After reading a bit of the support pages on Envira, I think I might have two copies of JS installed. I have gone through the files and Im not sure what I am looking for, so that I can fix it. So, I am hoping someone can assist me with direction. Please.
The page in question is:
http://devsite.laaperformingarts.org/media/
The module is not defined error is caused by one of your plugins creating a global exports variable. The envira plugin sees this and mistakenly thinks it can use requirejs to load the jquery library. A simple fix for this would be to change the order of your script tags so that envira loads before the file that is creating this global variable.
Make sure the order of your script tags in the HTML has
<script type='text/javascript' src='http://devsite.laaperformingarts.org/wp-content/plugins/envira-gallery-lite/assets/js/min/envira-min.js?ver=1.6.1.4'></script>
before
<script type='text/javascript' src='http://devsite.laaperformingarts.org/wp-content/themes/royal/layout/plugins/retina/retina.min.js?ver=4.8'></script>
Related
When embedding a dashboard or a tile in Javascript I get this strange error from PowerBI.
The error comes from> dashBoardEmbed minified javascript
ERROR Error: Uncaught (in promise): Esri is not supported in Embedded scenario.
at _ (powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5)
at powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5
at powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5
at t.invoke (powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5)
at Object.onInvoke (dashboardEmbed.min.4a4b3b318b2bc635d2a5.js:1)
at t.invoke (powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5)
at e.run (powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5)
at powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5
at t.invokeTask (powerbiportal.dependencies.externals.bundle.min.65d4a96bc46ec2fd3787.js:5)
at Object.onInvokeTask (dashboardEmbed.min.4a4b3b318b2bc635d2a5.js:1)
Is there anything I can do to not show this error? Or at least understand it?
I googled about Esri it seems that it is about ArcGIS Maps, but my dashboard or tile embedding scenario, doesnt contain any of this maps. Only contains a simple tile like this>
This error doesnt stop from embedding or even cause any bad experience for the user, but I just dont like too see this errors in the console. At most, I like to understand it :D
Anyone had this before?
I suspect your report to contain an argis module. Try to create a new page and remove the actual one. If the problem persists, desactivate the argis integration from the pbix.
I have searched a lot to fix this. but not succeeded find this fix. I'm working with visual composer 5.4.7 and Wordpress 4.9.6 i have used Visual composer tabs in a webpage. there it shows the below error and does not shows the dropdown list of main_menu.
JQMIGRATE: Migrate is installed, version 1.4.1
vc-tabs.min.js?x71958&ver=5.0.1:1 Uncaught TypeError: Cannot read property 'getRelatedTab' of undefined
at HTMLDocument.changeHandler (vc-tabs.min.js?x71958&ver=5.0.1:1)
at HTMLDocument.dispatch (jquery.js?x71958&ver=1.12.4:3)
at HTMLDocument.r.handle (jquery.js?x71958&ver=1.12.4:3)
at Object.trigger (jquery.js?x71958&ver=1.12.4:3)
at Object.a.event.trigger (jquery-migrate.min.js?x71958&ver=1.4.1:2)
at HTMLDivElement. (jquery.js?x71958&ver=1.12.4:3)
at Function.each (jquery.js?x71958&ver=1.12.4:2)
at a.fn.init.each (jquery.js?x71958&ver=1.12.4:2)
at a.fn.init.trigger (jquery.js?x71958&ver=1.12.4:3)
at a.fn.init.t.fn.(/beta/shared-hosting/anonymous function) [as hide] (http://tech.co.uk/beta/wp-content/plugins/wordpress-popup/assets/js/front.min.js?x71958&ver=1.1:2:14154)
All the other pages which are not using visual composer working pretty good with nav_menu dropdown and responsiveness.
I am not getting this how to get rid of these errors. please help me out of this.
just Going to folder/file Manager websiteData/wp-content/plugins/ and rename the folder Wordpress-popup //add a number at the end. this will deactivate the plugin and this was generating errors for other functionalities.
(http://tech.co.uk/beta/wp-content/plugins/wordpress-popup/assets/js/front.min.js?x71958&ver=1.1:2:14154)
this is the only plugin which is conflicting with VC_tabs
Thanks
This seems to be an incompatibility with other plugins.
Try to deactivate other plugins until the error is gone.
Known plugins to have issues with Visual Composer tabs:
Cookie Notice for GDPR
Hustle – Pop-Ups, Slide-ins and Email Opt-ins
WP Fastest Cache (not possible to clear the cache through admin bar)
So I'm making this webpage in ASP.NET and I'm using Telerik to add controls. Basically I've seen this error message a few times now, but they always disappear by accident. This time I want to make myself a script on how to handle these kind of error messages, because let's be honest, they are pretty vague.
I could show you the .aspx page markup, but it's 1854 lines long, including javascript and styling.
Uncaught Error: Sys.InvalidOperationException: A control is already associated with the element.
at Function.Error$create [as create] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:237)
at Function.Error$invalidOperation [as invalidOperation] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:387)
at Telerik.Web.UI.RadAjaxManager.Sys$UI$Control (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:5273)
at Function.Type$initializeBase [as initializeBase] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:737)
at Telerik.Web.UI.RadAjaxManager.Telerik.Web.UI.RadAjaxControl (ScriptResource.axd?d=sF8Y0c2qLAfpveBK9gLo7DYIWpF0kHA4q-Pt9ojt_VJ_ybOgW_Pq9RzyqLJ95IuBuRuNgHRg2lCAJn…:2)
at Function.Type$initializeBase [as initializeBase] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:737)
at new Telerik.Web.UI.RadAjaxManager (ScriptResource.axd?d=sF8Y0c2qLAfpveBK9gLo7DYIWpF0kHA4q-Pt9ojt_VJ_ybOgW_Pq9RzyqLJ95IuBuRuNgHRg2lCAJn…:740)
at Sys$Component$create (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:3811)
at <anonymous>:2:5
at Sys$_Application$add_init [as add_init] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:4737)
My question would rather be, how do I tackle an error message like this one? Where do I look, what could be possible problems to cause this to happen?
Also, can I perhaps debug on something to figure out what element it's complaining about?
I try to debugg a JavaScript error which mostly happens on the first load page
2017-06-27 10:05:12.480 /static/version1498550705/frontend/Example/default/en_US/Ves_ImageSlider/js/owl.carousel.min.js:1 Uncaught TypeError: Cannot read property 'fn' of undefined
at /static/version1498550705/frontend/Example/default/en_US/Ves_ImageSlider/js/owl.carousel.min.js:1
at /static/version1498550705/frontend/Example/default/en_US/Ves_ImageSlider/js/owl.carousel.min.js:1
2017-06-27 10:05:12.548 (index):285 Uncaught TypeError: owl.owlCarousel is not a function
at HTMLDocument.<anonymous> ((index):285)
at fire (jquery.js:3232)
at Object.fireWith [as resolveWith] (jquery.js:3362)
at ready (jquery.js:3582)
This question is not so much about the error itself - it is properly to broad.
I am just asking how I can try to reproduce this bug properly to tackle it.
Clearing cache and Inkognito window does not really help to reproduce this.
But it happens more often then only sometimes.
How can I debug such a "Heisenbug" ?
EDIT: The problem might be random in around 10% probability ... when hitting F5 (no cache clear) a number of times, it happens like every third time.. Still hard to debug. Maybe a timing issue?
At the end of the day, the problem was require js where two libraries were loaded, the second one depending on Jquery. I was able to fix it with a shim configuration.
See also RequireJS order of dependencies
Hi I am having an error on my Wordpress site and my Accordion menu is not working,
Using: https://wordpress.org/support/plugin/accordions/
Uncaught TypeError: $(…).accordion is not a function.
Could be being caused by jQuery versions, not entirely sure, my site was working fine yesterday and I have backtracked my changes and cannot find anything that was different.
Other errors I am getting are:
jquery-migrate.min.js:2 Uncaught TypeError: Cannot read property ‘migrateMute’ of undefined
selectize.min.js:2 Uncaught TypeError: Cannot read property ‘extend’ of undefined
Thanks
Apologies for this kind of vague question.
I solved the problem. There was a defer added on the script tag for mc-validate.js (a mailchimp script) which was causing all the issues. I have no idea why but all problems went away.
Thanks