`options` wasn't an object, so PHP was a tad unimpressed by trying to set a object var on something undefined.