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.

php error with twitter timeline plugin

November 24, 2011 2:07am

Subscribe [2]
  • #1 / Nov 24, 2011 2:07am

    Interfacer

    92 posts

    Hi I am getting this php error with time ago and twitter timeline plugin:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined offset: 7
    
    Filename: time_ago/pi.time_ago.php
    
    Line Number: 68
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Cannot modify header information - headers already sent by (output started at /Users/christiangeyer/Sites/interface2.1/R9Ccle5quHMaov/codeigniter/system/core/Exceptions.php:170)
    
    Filename: core/Common.php
    
    Line Number: 409

    the time ago in the twitter timeline is “-23761 ago”. Obviously seconds.

    I am using this code:

    {exp:twitter_timeline screen_name="xxxxxx" limit="5" parse="inward" create_links="user_mentions|hashtags|urls"}
            <b class="time-ago">{exp:time_ago}{created_at format="%U"}{/exp:time_ago}</b> {text}
       {/exp:twitter_timeline}

    I am running EE v2.3.1 - Build: date 20111017

    Cheers

     

     

    [Mod Edit: Moved to the EE 2 Technical Support forum]

  • #2 / Nov 24, 2011 7:00pm

    Sean C. Smith

    3818 posts

    Hi Interfacer,

    Since this problem is with a third-party add-on I would recommend you ask the developer for support.

    Sean

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

ExpressionEngine News!

#eecms, #events, #releases