title: PHP Warning - Illegal string offset
body: <p>So I don't understand why this is not working. I'm using Wordpress and a plugin called ACF to populate some data. I'm looping through my repeater field to spit out the data like so:</p>
  
  <pre><code>&lt;?php
  
      $links = get_field('footer_links');  // spits out the array
  
      if($links) {
          foreach ( $links as $link ) {
              $logo = $link['logo'];
              $link = $link['link'];
              $text = $link['text'];
  
              echo '&lt;div class="link"&gt;';
              echo '  &lt;a href="'.$link.'"&gt;&lt;img src="'.$logo.'" /&gt;&lt;p&gt;'.$text.'&lt;/p&gt;&lt;/a&gt;';
              echo '&lt;/div&gt;';
          }
      }
      // Logo spits out a image path
      // link spits out the URL path
      // text SHOULD just spit out the title, however throws PHP warning
  
  ?&gt;
  </code></pre>
  
  <p>For the variable <code>$text</code> I am getting a PHP warning.</p>
  
  <blockquote>
    <p>Warning: Illegal string offset 'text' in...</p>
  </blockquote>
  
  <p>Why is it that my other variables -- <code>$logo</code>, <code>$link</code> do not throw this warning? They are created the same way as the other <code>$text</code> variable.</p>
  
  <p>I've tried recreating the entire repeater field and changing the name etc.. with no success.</p>
  
  <p>Here is my print_r($links);</p>
  
  <pre><code>Array
  (
      [0] Array
          (
              [logo] http://domainname.com/imagepath
              [link] http://.....
              [text] Text1
          )
  
      [1] Array
          (
              [logo] http://domainname.com/imagepath
              [link] http://.....
              [text] Text2
          )
  
      [2] Array
          (
              [logo] http://domainname.com/imagepath
              [link] http://.....
              [text] Text3
          )
  
  )
  </code></pre>