In my experience if something can be broken, it will – and it’s always my fault. 
Illegal string offset "image"
Without seeing the actual code, my guess is they figured out how to call an array key that wasn’t assigned yet. Try adding a check for error handling on that line.