title: Warning: Illegal string offset 'id'
body: <p>I have defined two variables as follows:</p>
  
  <pre><code>$pic = get_tax_meta($books-&gt;term_id,'books_field_id', true);
  $imageurl = wp_get_attachment_image_src( $pic[id], 'list-thumb' );
  </code></pre>
  
  <p><code>print_r($pic)</code> results in the following:</p>
  
  <pre><code>Array ( [id] =&gt; 302 [src] =&gt; http://localhost/mysite/wp-content/uploads/2013/10/apic.jpg )
  </code></pre>
  
  <p>However, I get the following warning from $pic[id]:</p>
  
  <pre><code>Warning: Illegal string offset 'id'
  </code></pre>
  
  <p>Any idea what I'm doing wrong?</p>