Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error JS v1.6.5 #2461

Closed
astroVibes opened this issue Apr 17, 2019 · 5 comments
Closed

Error JS v1.6.5 #2461

astroVibes opened this issue Apr 17, 2019 · 5 comments
Labels

Comments

@astroVibes
Copy link

Hi guys, i tried update my installation v1.5.10 in the new version but there is a multiple error, so i try a new installation with last update (1.6.5) and i import my pages, i find this problem wiht Jquery.

If i delete in baste.html.twig at line 36 when the code is

34 {% block assets deferred %}
35    {{ assets.css()|raw }}
36    {{ assets.js()|raw }}
37 {% endblock %}

the problem apparentment is resolve, but not work the jquery and another librarys, how i resolve?

@rhukster
Copy link
Member

Not really following what the exact problem is. Jquery is not loaded? Which theme are you using? Is it custom?

@astroVibes
Copy link
Author

theme is Quark, this is the problem https://ibb.co/jbgHNvp

@rhukster
Copy link
Member

Sounds like same issue as this: #2458 (comment)

Something in your code is adding an asset with a priortity that is not an integer. could be a custom plugin, maybe try disabling them one-by-one until you locate it?

In the meantime, I will look to see if i can ensure these are 'cast' to integers to stop the error, but really the issue lies in some come somewhere.

@astroVibes
Copy link
Author

ok thanks, i find the plugin is Lazy Image by Matthew M. Crumley

@rhukster
Copy link
Member

might want to open an issue on that plugin to address the underlying issue, but my fix should stop the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants