Nothing fancy, Drupal 7.15 installed, drupal commerce and commerce coupon (plus dependencies)
Create my first coupon type and it crashed right here. This is the error:
FieldException: Attempt to create a field of unknown type "number_integer". in field_create_field() (line 110 of /var/www/sites/drupal7/modules/field/field.crud.inc).
it's related to commerce_coupon_number_of_uses
I've tried with Drupal 7.13 also and have the same error.
Of course the whole site is down because there is half the entity created in the database.
When refreshing the page I have this error:
Recoverable fatal error: Argument 2 passed to entity_views_field_definition() must be an array, null given, called in /var/www/sites/default/modules/contrib/entity/views/entity.views.inc on line 152 and defined in entity_views_field_definition() (line 175 of /var/www/sites/default/modules/contrib/entity/views/entity.views.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1787434-fix-depencies-3.patch | 369 bytes | elc |
Comments
Comment #1
maxime_sbk commentedThis is because there is a missing dependency with the module
NumberCould someone patch this ?
Comment #2
pcambraDo you have "number" module installed? that comes with core.
Comment #3
elc commentedExperienced the same problem. Site database was fouled up so badly I had to start from scratch!
Module needs to include Number module as a dependency as it can be installed without it but it seems to be absolutely critical. One line patch attached.
Comment #4
pcambraThanks for the catch and the patch!
Committed!