Undefined offset: 2 after upgrading from 2.11 to 2.12

by chrisguidry, Saturday, September 27, 2014, 17:49 (3523 days ago)

Hi folks,

I'm a software engineer, but not very familiar with PHP debugging. I'm trying to update my instance from 2.11 to 2.12 and when I run update.php, it stops after a debug log line "item content sanitized" and prints "Undefined offset: 2" to stdout. I've narrowed it down to a reddit2 feed and the $item->getIcon call, but I'm not well set up to debug PHP at the moment.

I can reproduce the issue quite easily by toggling between the git tags 2.11 and 2.12, but there were a ton of changes between those two versions, so I'm not sure how to narrow it down.

Has anyone else seen this or have an idea for something to try? I've been running selfoss for several months and have lots of feeds, so I would prefer not to remove all my data.

Complete thread:

 RSS Feed of thread

powered by my little forum