# 0.19 broke builds

**URL:** <https://zola.discourse.group/t/0-19-broke-builds/2219>\
**Category:** Support\
**Created:** [July 14, 2024, 7:21pm UTC](https://zola.discourse.group/t/0-19-broke-builds/2219 "2024-07-14T19:21:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlie137](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/charlie137/32/1140_2.png) [@charlie137](https://zola.discourse.group/u/charlie137)\
**Post date:** [July 14, 2024, 7:21pm UTC](https://zola.discourse.group/t/0-19-broke-builds/2219/1 "2024-07-14T19:21:35Z")

</div>

After upgrading to 0.19 I am getting ` Test call 'containing' failed`, even if I drop all these tests from the template:

```auto
Error: Failed to serve the site
Error: Failed to render section '/home/charlie/src/halve-z/content/_index.md'
Error: Reason: Failed to render 'index.html' (error happened in a parent template)
Error: Reason: Test call 'containing' failed
Error: Reason: Tester `containing` was called on an undefined variable

```

theme: [halve-z/templates at trunk · charlesrocket/halve-z · GitHub](https://github.com/charlesrocket/halve-z/tree/trunk/templates)  
CI: [fix(config): set `generate_feeds` · charlesrocket/halve-z@6696f1f · GitHub](https://github.com/charlesrocket/halve-z/actions/runs/9930084955/job/27428413268)

Is there a way to get more info on the error?

---

<div class="post-metadata">

**Author:** ![jieiku](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/jieiku/32/741_2.png) [@jieiku](https://zola.discourse.group/u/jieiku)\
**Post date:** [July 16, 2024, 2:06am UTC](https://zola.discourse.group/t/0-19-broke-builds/2219/2 "2024-07-16T02:06:11Z")

</div>

In abridge I was getting a similar error using the **containing** terra function, it was because the feeds had changed:

> <https://github.com/getzola/zola/issues/2534>
>
> \# Bug Report
> 
> feeds worked fine with 0.18
> 
> I had to edit \`generate\_feed = tr…ue\` to \`generate\_feeds = true\`
> 
> however after doing so I see the following errors:
> 
> \`\`\`
> Error: Failed to serve the site
> Error: Failed to render page '/home/jieiku/.dev/abridge/content/pages/contact.md'
> Error: Reason: Failed to render 'pages.html' (error happened in 'base.html').
> Error: Reason: Test call 'containing' failed
> Error: Reason: Tester \`containing\` was called on an undefined variable
> \`\`\`
> 
> If I set \`generate\_feeds = false\` then the site builds fine.
> 
> I assume this is related to this: https://github.com/getzola/zola/pull/2477 but I cannot say for sure. I am not using a custom feed template, I have always just let it build the feed using the default template.
> 
> \## Environment
> 
> Zola version: 0.19.0
> 
> \## Expected Behavior
> the site to build or serve, or maybe to give a more detailed error.
> 
> \## Current Behavior
> 
> \`\`\`
> env RUST\_BACKTRACE=1 ~/zola serve
> Building site...
> Checking all internal links with anchors.
> \> Successfully checked 7 internal link(s) with anchors.
> \-\> Creating 29 pages (4 orphan) and 13 sections
> Error: Failed to serve the site
> Error: Failed to render section '/home/jieiku/.dev/abridge/content/archive/\_index.md'
> Error: Reason: Failed to render 'archive.html' (error happened in 'base.html').
> Error: Reason: Test call 'containing' failed
> Error: Reason: Tester \`containing\` was called on an undefined variable
> \`\`\`
> 
> \## Step to reproduce
> 
> git clone https://github.com/Jieiku/abridge
> cd abridge
> 
> edit config.toml replacing occurrances of \`generate\_feed = true\` with \`generate\_feeds = true\`
> 
> zola serve
> zola build

> <https://github.com/Jieiku/abridge/commit/7ca3ed028dd5169a72f5711246db8484871956b3>

just grep your site for **containing** and if you use that function for feeds, then also grep for **feed**

---

<div class="post-metadata">

**Author:** ![charlie137](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/charlie137/32/1140_2.png) [@charlie137](https://zola.discourse.group/u/charlie137)\
**Post date:** [July 16, 2024, 5:00pm UTC](https://zola.discourse.group/t/0-19-broke-builds/2219/3 "2024-07-16T17:00:43Z")

</div>

fixed rss variables but still same results [fix: update rss link · charlesrocket/halve-z@4f032d7 · GitHub](https://github.com/charlesrocket/halve-z/actions/runs/9961000416/job/27521540620)🤔

---

<div class="post-metadata">

**Author:** ![charlie137](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/charlie137/32/1140_2.png) [@charlie137](https://zola.discourse.group/u/charlie137)\
**Post date:** [July 16, 2024, 5:14pm UTC](https://zola.discourse.group/t/0-19-broke-builds/2219/4 "2024-07-16T17:14:37Z")

</div>

looped over feeds filenames and it works now, thanks!
