Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-05T10:52:29.990Z
Answers.LastActivityDate: 2018-04-05T10:52:29.990Z
Answers.UserDisplayName: Jamie Wade
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-06T08:47:31.690Z
Comments.Text: 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.
Comments.UserDisplayName: Seth Warburton
Tags: <templating><craft3><twigextension>
Title: Craft 3 - Fixing deprecation errors
ThreadText: # 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.
  
  
  ---
  
  