Easing, Popper and Revolution errors

5 replies · opened Dec 18, 2020

SsamchadDec 18, 2020

Just purchased and integrating with Laravel. The revolution slider is not loading. I see three sets of errors and ask for help solving these:

  1. DevTools failed to load SourceMap: Could not load content for http://example.com/js/popper.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

  2. jQuery.Deferred exception: jQuery.easing[jQuery.easing.def] is not a function TypeError: jQuery.easing[jQuery.easing.def] is not a function

  3. Uncaught TypeError: Cannot read property 'layers' of undefined in revolution.extension.layeranimation.min.js:7

Can you please advise?

SsamchadDec 19, 2020

Looking at this further, it appears to be because the js files are not loading correctly.
The js files are in the under the parent in a folder called 'js', to mirror the original structure. Based on previous posts, I have also tried adding
<script>window.scwJsPath = "{{ asset('/js') }}";</script>
just before calling functions.js
<script src="{{ asset('js/functions.js') }}"></script>
but line 191 of functions.js throws "Plugin could not be loaded" for each plugin.

SsamchadDec 19, 2020

Got it working by removing
<script src="{{ asset('js/app.js') }}" defer></script>

Now just left with

Uncaught (in promise) TypeError: Failed to execute 'exitFullscreen' on 'Document': Document not active
at T (revolution.extension.video.min.js:7)
at HTMLVideoElement.<anonymous> (revolution.extension.video.min.js:7)

SSemicolon WebSTAFFDec 20, 2020

Hello,

Thanks for your Patience!

The issues appear to be with the Laravel Integrations which is not provided with Canvas by default and do not provide Customization related Support according to the Item Support Policy: https://themeforest.net/page/item_support_policy .

However, please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this, as the most likely issue here is with the JS Files/Functions not loading correctly. Consider following the default loading order of the JS Files and everything should work correctly. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

SsamchadDec 25, 2020

Thanks for the reply. I don't have a live URL yet. I've resorted to trying to avoid using the Revolution slider for now.

SSemicolon WebSTAFFDec 26, 2020

Hello,

Consider linking the Scripts without the defer Attribute and check if this works fine for you.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard