Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to install Newsletter 7.x-2.x-dev I get following error:
Warning: class_implements() [function.class-implements]: object or string expected ve funkci entity_create() (řádek: 255 v souboru C:\data\www\knihovna\sites\all\modules\entity\entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given ve funkci entity_create() (řádek: 255 v souboru C:\data\www\knihovna\sites\all\modules\entity\entity.module).
FieldException: Cannot change an existing field's entity_types property. ve funkci field_update_field() (řádek: 237 v souboru C:\data\www\knihovna\modules\field\field.crud.inc).
I am using Entity API 7.x-1.0-rc3. Please let me know, if you need more information.
Comments
Comment #1
milos.kroulik CreditAttribution: milos.kroulik commentedWell, perhaps I should add, that I tried to install modules at once (excluding Newsletter subscriber) and after reload Newsletter and Newsletter Templates modules were enabled.
Comment #2
ParisLiakos CreditAttribution: ParisLiakos commentedYes i am aware..it is due to the fact i am trying to attach to newsletter_template the body field...which unfortunately can only be attached on node entitites.
So i most probably have a new field field_newsletter_body like i did in 1.x series.
Or something else..i am not sure how to proceed now, thats why this is not still fixed
Comment #3
milos.kroulik CreditAttribution: milos.kroulik commentedWouldn't be best to ask in Entity API queue?
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commentedfixed in latest commit