ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Twitter Timeline Plugin

September 30, 2010 8:57pm

Subscribe [3]
  • #1 / Sep 30, 2010 8:57pm

    bjyama

    38 posts

    I don’t know where to ask this plugin question. I know there is no plugin support on the EE Forums now but this is an ElisLab plugin so…

    I am getting a PHP error every so often. It happens and to prevent the error from showing up on the live site I comment out the code. When I do some testing the error goes away so I uncomment the code and everything works again until it happens again.

    ERROR:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Invalid argument supplied for foreach()
    
    Filename: twitter_timeline/pi.twitter_timeline.php
    
    Line Number: 385
    
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Invalid argument supplied for foreach()
    
    Filename: twitter_timeline/pi.twitter_timeline.php
    
    Line Number: 385

    CODE:

    <div id="principal_twitter_feed">
                <ul id="feed">
                    {exp:twitter_timeline screen_name="headlancer" limit="4"} 
                    <li>{text}
    
                        <span>{created_at format="%M %d %g:%i%a"}</span>
                    </li>
                    {/exp:twitter_timeline}    
                    <li class="last">Follow Mr. Mew <a href="http://www.twitter.com/headlancer/">@headlancer</a></li>
                </ul>
            </div>{!-- CLOSE principal_twitter_feed --}
  • #2 / Oct 01, 2010 3:02pm

    Sue Crocker

    26054 posts

    Hi, B.J. Which version of the twitter timeline are you using? There was a newer release a few days ago, 1.4.1.

  • #3 / Oct 13, 2010 3:51pm

    bobh

    145 posts

    I’m having this issue as well. the plugin stopped working and I got this error:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Invalid argument supplied for foreach()
    
    Filename: twitter_timeline/pi.twitter_timeline.php
    
    Line Number: 440
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Invalid argument supplied for foreach()
    
    Filename: twitter_timeline/pi.twitter_timeline.php
    
    Line Number: 440
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Cannot modify header information - headers already sent by (output started at /*cut*/codeigniter/system/core/Exceptions.php:171)
    
    Filename: core/Common.php
    
    Line Number: 424

    I’m using v1.4.1 (latest).

  • #4 / Oct 13, 2010 9:29pm

    Lisa Wess

    20502 posts

    Hey guys,

    Have you all tried Pascal’s recommendation?  that should help out some.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases