Eventlog errors re jojo_banner plugin

Eventlog errors re jojo_banner plugin, a forum discussion on Jojo CMS. Join us for more discussions on Eventlog errors re jojo_banner plugin on our General Discussion forum.

Back to Forum Index : Back to General Discussion   RSS
synfield

10 Aug 2008
Posts: 43

I have a number of entries in my eventlog table, every time I access jojo i.e. kiwiloans\jojocms\plugins\jojo_bannerimage\jojo_bannerimage.php "Undefined index: bi_caption_ru" line 21;

which refers to $bannerimages[$i]['caption_ru'] = Jojo::html2text($bannerimages[$i]['bi_caption_ru']);

How do I prevent this?
lynchpin

10 Aug 2008
Posts: 60

I don't think that line should be in there. 'bi_caption_ru' is not a valid variable for the plugin, and line 20 already sets the caption field.

I would say to just delete line 21 from 'jojo_bannerimage.php'
tom

Developer

tom

14 Aug 2008
Posts: 379

Quite right - just delete it - that's my mistake, i left it in there when we first built that plugin for a multilanguage site.

I think it's removed from the trunk copy already
Back to Forum Index : Back to General Discussion   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.