Postponed (maintainer needs more info)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Code - misc
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2015 at 00:05 UTC
Updated:
21 Jun 2017 at 08:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dkinzer commentedComment #3
dharizza commentedThanks @dkinzer for the patch, I've run into the same issue and this patch fix it for me.
Comment #4
dafederComment #5
fagoI do not think it's valid to have a $schema fields. What were the occasions you run into this, when installing which module? If it just happens during some brittle combination I'd assume something nasty going on during a cache rebuild?
Comment #6
dxvargas commented@fago nasty it is, indeed. I could tell you my case but it's so odd I don't think it's really interesting. It has to do with loading a backup of a clean database but somehow old data persists and it fails here. So the origin of the problem is not here.
Anyway, I think it's a best practice to always avoid php errors by testing the foreach control variable.