Answers.Body: <p>The issue was a plugin’s <code>composer.json</code> that was loading an older version of Twig as a nested dependancy, which was overriding Craft’s Twig.</p>
  
  <p>Running a <code>composer update</code> for that plugin rectified the issue.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-11T09:18:10.897Z
Answers.LastActivityDate: 2017-09-11T09:18:10.897Z
Answers.UserDisplayName: Joshua Baker
Body: <p>We’re running into issues with the null coalescence operator in the latest version of Craft (2.6.2989).</p>
  
  <p><a href="https://i.sstatic.net/qj6Wv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/qj6Wv.png" alt="enter image description here"></a></p>
  
  <p>Does anyone know why this might be happening?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-08T18:13:06.530Z
Comments.Text: Where are getting this error?  In the Control Panel somewhere?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-08T18:13:42.560Z
Comments.Text: Also, what version of PHP are you running?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-08T19:19:24.383Z
Comments.Text: That's in the CP. Currently on PHP 7.0.10, however, it's also present on PHP 7.1.
Comments.UserDisplayName: Joshua Baker
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-08T23:51:55.090Z
Comments.Text: That's... odd.  Going to respond from your support ticket and will follow up here with any solution.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-08T23:54:44.930Z
Comments.Text: Things to try: 1. Re-download Craft and replace the /app folder. 2. Disable all plugins; if the error goes away; re-enable the plugins one by one.
Comments.UserDisplayName: Mats Mikkel Rummelhoff
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-08T23:57:38.597Z
Comments.Text: Also, what @MatsMikkelRummelhoff said.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-09T15:47:44.933Z
Comments.Text: Thanks, both. Have tried both of those steps already. Brad, I'll respond to your email.
Comments.UserDisplayName: Joshua Baker
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-11T09:15:56.087Z
Comments.Text: Sorry, @Mats; You were right! I hadn’t properly disabled all plugins, it seems. Removing plugins via the database one by one _did_ root out the issue.
Comments.UserDisplayName: Joshua Baker
Tags: <templating>
Title: Unexpected token "punctuation" of value "?"
ThreadText: # Unexpected token "punctuation" of value "?"
  
  (Asked by: username_0 on 2017-09-08)
  
  We’re running into issues with the null coalescence operator in the latest version of Craft (2.6.2989).
  
  [![enter image description here](https://i.sstatic.net/qj6Wv.png)](https://i.sstatic.net/qj6Wv.png)
  
  Does anyone know why this might be happening?
  
  **Tags:** templating
  
  > **Comments:**
  > **username_1**: Where are getting this error?  In the Control Panel somewhere?  
  > **username_1**: Also, what version of PHP are you running?  
  > **username_0**: That's in the CP. Currently on PHP 7.0.10, however, it's also present on PHP 7.1.  
  > **username_1**: That's... odd.  Going to respond from your support ticket and will follow up here with any solution.  
  > **username_2**: Things to try: 1. Re-download Craft and replace the /app folder. 2. Disable all plugins; if the error goes away; re-enable the plugins one by one.  
  > **username_1**: Also, what @username_2 said.  
  > **username_0**: Thanks, both. Have tried both of those steps already. username_1, I'll respond to your email.  
  > **username_0**: Sorry, @username_2; You were right! I hadn’t properly disabled all plugins, it seems. Removing plugins via the database one by one _did_ root out the issue.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-09-11. Score: 2 | Accepted answer
  
  The issue was a plugin’s `composer.json` that was loading an older version of Twig as a nested dependancy, which was overriding Craft’s Twig.
  
  Running a `composer update` for that plugin rectified the issue.
  
  
  ---
  
  