Hi,

I've just install Subs and create a subscription for a user for testing, but when I tried to delete it, i have this error message

PDOException : SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal_gourmands.cache_entity_subs' doesn't exist: DELETE FROM {cache_entity_subs} WHERE (cid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 1 ) dans cache_clear_all() (ligne 176 dans /var/www/_DRUPAL/gourmands/includes/cache.inc).

The problem is the cache_entity_subs table which does not exist. I looked in the subs.install file and there is no creation of this table.

Do you have this table on your database ??

Thanks !

Comments

alexweber’s picture

Status: Active » Postponed (maintainer needs more info)

Are you using EntityCache?

alexweber’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

See #1387268: Profile2 entity cache table not created, causing PHP exceptions when saving/updating data for instructions on how to implement this, should be easy enough to adapt for Subs.

We should adapt the patches in #9 and #11.

alexweber’s picture

Assigned: Unassigned » alexweber
Status: Active » Fixed

Fixed in b3eef15.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.