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

Liquid Exception: no implicit conversion of Symbol into Integer in /_layouts/default.html #606

Open
jeffblake opened this issue Jul 15, 2019 · 2 comments

Comments

@jeffblake
Copy link

#575 from January is still open, but locked for some reason. I haven't been able to deploy a new website update since then due to this bug. I'm sorry for opening another issue about it, but I don't know what else to do.

@sashee
Copy link

sashee commented Oct 9, 2019

In my case the problem appeared when I tried to update bootstrap from 4.1.3 to the latest version.

My investigation:
The problematic code runs only if the crass gem is installed. bootstrap from version 4.2.1 transitively depends on crass: bootstrap => sassc-rails => railties => actionpack => rails-html-sanitizer => loofah => crass.

Pinning bootstrap to 4.1.3 solved my problem, temporarily.

@dramalho
Copy link

Just hit this as well, looking at the plugin/alternates.rb here the code is expecting o to be an object/hash but it's really CSS string - with @alternate bits in it and the whole thing blows up there

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

No branches or pull requests

3 participants