<p>Yes, with the launch of Craft 3, Pixel and Tonic have provided some <a href="https://docs.craftcms.com/v3/changes-in-craft-3.html#twig-2" rel="nofollow noreferrer">documentation</a> on switching from Craft 2 syntax to Craft 3. </p>

CC BY-SA 3.0
2018-04-05T10:52:29.990Z
2018-04-05T10:52:29.990Z
Jamie Wade
<p>I'm used to writing Twig 1 syntax, and since switching to Craft 3 (which uses Twig 2) I keep getting lots of deprecation errors in the control panel.</p>

<p>Is there any reference material that provides the Twig syntax I should be using instead for Craft 3 sites?</p>

CC BY-SA 3.0
2018-04-06T08:47:31.690Z
The deprecation errors shown in the control panel should also tell you how to update your syntax accordingly, at least all the ones I have seen did.
Seth Warburton
<templating><craft3><twigextension>
Craft 3 - Fixing deprecation errors
# Craft 3 - Fixing deprecation errors

(Asked by: username_0 on 2018-04-05)

I'm used to writing Twig 1 syntax, and since switching to Craft 3 (which uses Twig 2) I keep getting lots of deprecation errors in the control panel.

Is there any reference material that provides the Twig syntax I should be using instead for Craft 3 sites?

**Tags:** templating, craft3, twigextension

> **Comments:**
> **username_1**: The deprecation errors shown in the control panel should also tell you how to update your syntax accordingly, at least all the ones I have seen did.  

---

## 1 answers

### Answer by username_0 on 2018-04-05. Score: 2 | Accepted answer

Yes, with the launch of Craft 3, Pixel and Tonic have provided some [documentation](https://docs.craftcms.com/v3/changes-in-craft-3.html#twig-2) on switching from Craft 2 syntax to Craft 3.


---

