Need help resolving this error - Error: unknown keyword: args


#1

Liquid Exception: unknown keyword: args in /_layouts/page.html
Error: unknown keyword: args
Error: Run jekyll build --trace for more information.

Result from the trace:
Liquid Exception: unknown keyword: args in /_layouts/page.html
Traceback (most recent call last):
37: from /Users/achintal/.rbenv/versions/2.5.0/bin/jekyll:23:in <main>' 36: from /Users/achintal/.rbenv/versions/2.5.0/bin/jekyll:23:inload’
35: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/exe/jekyll:15:in <top (required)>' 34: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:inprogram’
33: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in go' 32: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:inexecute’
31: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in each' 30: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:inblock in execute’
29: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/commands/build.rb:18:in block (2 levels) in init_with_program' 28: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/commands/build.rb:36:inprocess’
27: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/commands/build.rb:65:in build' 26: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/command.rb:28:inprocess_site’
25: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/site.rb:73:in process' 24: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/site.rb:191:inrender’
23: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/site.rb:471:in render_pages' 22: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/site.rb:471:ineach’
21: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/site.rb:473:in block in render_pages' 20: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/renderer.rb:62:inrun’
19: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/renderer.rb:85:in render_document' 18: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/renderer.rb:155:inplace_in_layouts’
17: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/renderer.rb:188:in render_layout' 16: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/renderer.rb:123:inrender_liquid’
15: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/liquid_renderer/file.rb:28:in render!' 14: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/liquid_renderer/file.rb:49:inmeasure_time’
13: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/liquid_renderer/file.rb:29:in block in render!' 12: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/liquid_renderer/file.rb:42:inmeasure_bytes’
11: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-3.7.2/lib/jekyll/liquid_renderer/file.rb:30:in block (2 levels) in render!' 10: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/template.rb:220:inrender!‘
9: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/template.rb:207:in render' 8: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/template.rb:242:inwith_profiling’
7: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/template.rb:208:in block in render' 6: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:75:inrender’
5: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:75:in each' 4: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:88:inblock in render’
3: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:109:in render_node' 2: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-assets-3.0.6/lib/jekyll/assets/tag.rb:69:inrender’
1: from /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-assets-3.0.6/lib/jekyll/assets/tag.rb:82:in rescue in render' /Users/achintal/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/jekyll-assets-3.0.6/lib/jekyll/assets/tag.rb:185:ine_not_found’: unknown keyword: args (ArgumentError)


My Page Layout

{% asset 'style' %} {% include nav.html %} {{content}} {% include footer.html %}

#2

This was a bug in Jekyll Assets plugin…
It has been fixed now… and released

Running bundle update should resolve this for you now…


#3

Thanks for the help in resolving this issue @ashmaroli.


#4

Actually, I did nothing…
The credit goes to someone else entirely…

See the issue ticket opened and resolved at the plugin’s repo: