Hi!

I just installed so colissimo with drush and while the module is sucesfully enabled, the prompt throw a lot of errors :

[paul]$ drush en commerce_socolissimo

The following extensions will be enabled: commerce_socolissimo
Do you really want to continue? (y/n): y
WD php: FieldException: Tentative de créer une instance d'un champ
socolissimo_flex_min_weight qui n'existe pas ou qui est actuellement inactif. in field_create_instance() (line 476 of /var/www/html/concept2/modules/field/field.crud.inc).  [error]
Cannot modify header information - headers already sent by (output started at /usr/share/pear/drush/includes/output.inc:38) bootstrap.inc:1224
FieldException : Tentative de créer une instance d'un champ socolissimo_flex_min_weight qui n'existe pas ou qui est actuellement inactif. dans field_create_instance() (ligne 476 dans /var/www/html/concept2/modules/field/field.crud.inc).
Drush command terminated abnormally due to an unrecoverable error.   [error]

If I try to enable the commerce_socolissimo a second time, drush tell me that th emodule is already enabled.

I just installed the module in an early development stage so I will not check if all is working like a charm, but I throw this bug here for your information.

Thanks fo all the work done.

Comments

jkuma’s picture

Hello _paul,

So, first try to completely uninstall the module with drush dis commerce_socolissimo and drush pm-uninstall commerce_socolissimo. Then, clear drupal caches and run the cron job. Re-enable the module afterwards. Hope it will work for you.

Sorry for the delay and thanks for the kind message.

best, jonathan

jkuma’s picture

Status: Active » Needs review
maciej.zgadzaj’s picture

Status: Needs review » Closed (cannot reproduce)

Haven't seen mentioned FieldException when installing the most recent checkout of this module on the Kickstart site. Additionally, as the issue is over a year old, I'm closing it - please feel free though to re-open if you are still experiencing the issue (on a fresh DC installation), providing more details on how to reproduce it - which Drupal version are you using, which contrib modules/versions etc.