title: Chrome, Opera, Mozilla Content decoding failed
body: <p>I have a function in php, which lists followers of a user in twitter. When I use chrome to navigate to the page which holds the function, It works, sometimes it doesn't. </p>
  
  <p>Chrome works 3 out of 5 times before it gives "Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error"</p>
  
  <p>Mozilla works 4 out of 5 times before it gives "Content Encoding Error"</p>
  
  <p>Opera shows this </p>
  
  <blockquote>
    <p>Warning: Invalid argument supplied for foreach() in
    C:\wamp\www\ntwyt\core\common\twitter.php on line 1639
    �j&amp;x���o��4�a  ���h��RA�N����T.&amp;�Km�n� 5ý i�&lt;Т
    K���/o4�¨�b�@�Y�����</p>
  </blockquote>
  
  <p>Here's the code </p>
  
  <pre><code>function theme_followers($feed, $hide_pagination = false) {
      $rows = array();
      if (count($feed) == 0 || $feed == '[]') return '&lt;p&gt;No users to display.&lt;/p&gt;';
  
      foreach ($feed-&gt;users-&gt;user as $user) {
  
          $name = theme('full_name', $user);
          $tweets_per_day = twitter_tweets_per_day($user);
          $last_tweet = strtotime($user-&gt;status-&gt;created_at);
          $content = "{$name}&lt;br /&gt;&lt;span class='about'&gt;";
          if($user-&gt;description != "")
              $content .= "Bio: " . twitter_parse_tags($user-&gt;description) . "&lt;br /&gt;";
          if($user-&gt;location != "")
              $content .= "Location: {$user-&gt;location}&lt;br /&gt;";
          $content .= "Info: ";
          $content .= pluralise('tweet', $user-&gt;statuses_count, true) . ", ";
          $content .= pluralise('friend', $user-&gt;friends_count, true) . ", ";
          $content .= pluralise('follower', $user-&gt;followers_count, true) . ", ";
          $content .= "~" . pluralise('tweet', $tweets_per_day, true) . " per day&lt;br /&gt;";
          $content .= "Last tweet: ";
          if($user-&gt;protected == 'true' &amp;&amp; $last_tweet == 0)
              $content .= "Private";
          else if($last_tweet == 0)
              $content .= "Never tweeted";
          else
              $content .= twitter_date('l jS F Y', $last_tweet);
          $content .= "&lt;/span&gt;";
  
          $rows[] = array('data' =&gt; array(array('data' =&gt; theme('avatar', theme_get_avatar($user)), 'class' =&gt; 'avatar'),
                                          array('data' =&gt; $content, 'class' =&gt; 'status shift')),
                          'class' =&gt; 'tweet');
  
      }
  
      $content = theme('table', array(), $rows, array('class' =&gt; 'followers'));
      if (!$hide_pagination)
      $content .= theme('list_pagination', $feed);
      return $content;
  }
  </code></pre>
  
  <p>Whats the problem? It works and doesn't work.</p>