<p>After updating from Craft CMS 2.6.2973 to Craft CMS 2.6.2981 I get the following error message:
<em>"Unable to load the "Craft\xyz" runtime after Craft update"</em></p>

<ul>
<li>"Craft\xyz" is a Twig extension</li>
<li>Fails in [install folder]\craft\app\vendor\twig\twig\lib\Twig\Environment.php line 900 (Twig_Environment::getRuntime())</li>
<li>Twig_Environment::runtimes is an empty array</li>
</ul>

<p>Anyone else experienced this problem, and know what is causing it?</p>

<p>Thanks in advance!</p>

CC BY-SA 3.0
2017-06-07T22:56:31.470Z
Is `Craft\xyz` a Twig extension coming from a plugin?  Can you try downloading a fresh copy of Craft from https://craftcms.com and replace your existing `craft/app` folder with the fresh one? Would hurt to do the same for the plugin if there is one as well.
Brad Bell
<templating><updating><twigextension>
Unable to load the "Craft\xyz" runtime after Craft update
# Unable to load the "Craft\xyz" runtime after Craft update

(Asked by: username_0 on 2017-06-07)

After updating from Craft CMS 2.6.2973 to Craft CMS 2.6.2981 I get the following error message:
*"Unable to load the "Craft\xyz" runtime after Craft update"*

* "Craft\xyz" is a Twig extension
* Fails in [install folder]\craft\app\vendor\twig\twig\lib\Twig\Environment.php line 900 (Twig\_Environment::getRuntime())
* Twig\_Environment::runtimes is an empty array

Anyone else experienced this problem, and know what is causing it?

Thanks in advance!

**Tags:** templating, updating, twigextension

> **Comments:**
> **username_1**: Is `Craft\xyz` a Twig extension coming from a plugin?  Can you try downloading a fresh copy of Craft from https://craftcms.com and replace your existing `craft/app` folder with the fresh one? Would hurt to do the same for the plugin if there is one as well.  

---

## 0 answers

