I'm facing very strange problem with changing my custom entity's fields. I've a custom entity with id
, type
, .. , premium
, premium_expires_at
, .. fields. It was working without any problems with its own fields (those declared in hook_schema()) till today, but suddenly I changed its fields, dropped premium
, and premium_expires_at
fields, added new fields with HOOK _update_n
function. I see database schema changed, but those deleted fields are still being shown in base table
key under field_sql_storage
key.. I've already ran update.php (many times), but no luck.. I thought it's a caching problem, so I've cleared all caches manually, and with drush, no luck, cleared memcached data (with telnet), any changes.Every time I'm getting the same error, like this:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.premium' in 'field list': SELECT ... base.premium AS premium... в функции EntityCacheControllerHelper::entityCacheLoad() (строка 101 в файле /PATH_TO_MY_PROJECT/sites/all/modules/entitycache/entitycache.module)
I don't have any premium
field in my db schema, but still getting this error, is there any way to solve it?
(I am using EntityAPI with Entitycache and Memcache Storage modules).
flush_all
)?