title: Warning: Illegal string offset 'en'
body: <p>I get a strange (at least to me) error on my home page:</p>
  
  <pre class="lang-none prettyprint-override"><code>Warning: Illegal string offset 'en'
  </code></pre>
  
  <p>Here is the code, please help:</p>
  
  <pre><code>if (isset($s['target_data']['description']) &amp;&amp; $s['target_data']['description']){
      if (isset($s['target_data']['description'][$lang])){
          $s['target_data']['description'] = $s['target_data']['description'][$lang];
      } else {
          $s['target_data']['description'] = $s['target_data']['description']['en'];
      }
  } else {
      $s['target_data']['description'] = "";
  }
  </code></pre>