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

undefined method `tainted? #2

Closed
andrejjh opened this issue Apr 18, 2024 · 1 comment
Closed

undefined method `tainted? #2

andrejjh opened this issue Apr 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@andrejjh
Copy link
Collaborator

(base) [hp-gbif-be] bundle exec jekyll serve master
Calling DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call DidYouMean.correct_error(error_name, spell_checker)' instead.
Configuration file: /Users/ahe/ws/hp-gbif-be/_config.yml
Source: /Users/ahe/ws/hp-gbif-be
Destination: /Users/ahe/ws/hp-gbif-be/_site
Incremental build: disabled. Enable with --incremental
Generating...
Remote Theme: Using theme gbif/jekyll-hp-base-theme
Jekyll Feed: Generating feed for posts
Liquid Exception: undefined method tainted?' for [{"type"=>"postHeader"}, {"type"=>"pageMarkdown"}]:Array in /private/var/folders/19/mrkkz1tx34l98n1rs3qr3xr00000gn/T/jekyll-remote-theme-20240418-4209-kny8ta/_layouts/post.html ------------------------------------------------ Jekyll 4.1.1 Please append --traceto theservecommand for any additional information or backtrace. ------------------------------------------------ /Users/ahe/.rbenv/versions/3.2.3/lib/ruby/gems/3.2.0/gems/liquid-4.0.3/lib/liquid/variable.rb:124:intaint_check': undefined method `tainted?' for [{"type"=>"postHeader"}, {"type"=>"pageMarkdown"}]:Array (NoMethodError)

  return unless obj.tainted?
                   ^^^^^^^^^
@andrejjh andrejjh added the bug Something isn't working label Apr 18, 2024
@andrejjh
Copy link
Collaborator Author

Problem solved by using liquid 4.0.4 instead of 4.0.3
see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant