Word Limit Plus
Posted: 11 May 2007 02:44 PM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  21
Joined  03-25-2007

Can anyone tell me why I am getting this error at the top of any page that I use the word_limit_plus plugin.

Notice: Undefined offset: 22 in plugins/pi.word_limit_plus.php on line 70

It actually seems as though it is doing what I want it to do, with the exception of this random error. From my untrained eyes it looks like it is pointing out an error in the actual php plugin. That wouldn’t be my error would it.

Here is the code that I am using as of now.

{exp:word_limit_plus if_exceeds="25" stop_after="22" }
         {summary}
  {
/exp:word_limit_plus}


Thanks for the help.
And yes I am new to this.

Derik

Mod Edit:This is a plugin, not an extension.  Added code tags

 Signature 

Derik Lolli
http://www.shift-design.com

Profile
 
 
Posted: 11 May 2007 07:39 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32921
Joined  05-14-2004

Hey dookie, I deleted your second post, no need to cross-post, you can just bump.

That said if you are having problems and no response here, I’d suggest contacting the plugin’s author directly. =)

 Signature 
Profile
MSG
 
 
Posted: 16 November 2007 06:00 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  11-05-2007

For what it’s worth, I’m having the same problem. Funny thing is, the error only appears in IE (not Firefox).

Anyone find an answer?

 Signature 

Looking for EE developers. PM me for details.

Profile
 
 
Posted: 19 November 2007 11:31 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  11-05-2007

I was able to get rid of the warning message by changing from this:

{exp:word_limit_plus if_exceeds="20" stop_after="19" ...

to this:

{exp:word_limit_plus if_exceeds="20" stop_after="18" ...

 Signature 

Looking for EE developers. PM me for details.

Profile
 
 
Posted: 25 August 2008 08:41 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  64
Joined  01-14-2008

It’s happening to me, too. It seems to be triggered by text being a certain length - perhaps between the two values. It also may be triggered by the presence of HTML tags…?

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65085 Total Logged-in Users: 38
Total Topics: 82223 Total Anonymous Users: 22
Total Replies: 441915 Total Guests: 222
Total Posts: 524138    
Members ( View Memberlist )
Newest Members:  BombermanhaimtuagocsadamVeNeaDoRHildegaardhrtrulzUNFORGIVEN IIIEmmanuelYanYanTomsB