I was getting an undefined offset error in line 190 of slideshow_creator.inc. I believe this error is caused when not all parameters are passed in when using the block snippet. The array index should be explicitly checked for existence, and if it doesn't, return null.
Comments
Comment #1
markshust commentedFix attached
Comment #2
rhouse commentedThanks markoshust, This was caused by a slideshow spec. that didn't follow the rules, but programs shouldn't crash on illegal input, so I did an examination of all the surrounding code. I also read the PHP experts on the correct usage of "empty". In short there were quite a few weaknesses that can be triggered by bad or unusual data. The attached patches (I hope!) fix them. These will go in the next version.