Problem/Motivation

Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_entity_info_alter() (line 1474 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_entity_info_alter() (line 1474 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_entity_info_alter() (line 1474 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_entity_info_alter() (line 1474 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_entity_info_alter() (line 1474 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_entity_info_alter() (line 1474 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Notice: Undefined index: label in entity_views_table_definition() (line 147 of /home/public_html/modules/entity/views/entity.views.inc).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 84 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_type_supports() (line 84 of /home/public_html/modules/entity/entity.module).
Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 724 of /home/public_html/modules/entity/entity.module).
Status message

Proposed resolution

We need to define the AdvertisementEntityController class defination in the .module file by extending the EntityController class to fix these ones.

Remaining tasks

Create the patch to fix this.

User interface changes

API changes

Comments

naveenvalecha’s picture

Status: Active » Needs work

Hi Maintainers,
I have assigned it to myself and I will provide its patch soon.
Looking forward to hear from you what do you think.

naveenvalecha’s picture

Issue summary: View changes
naveenvalecha’s picture

Assigned: naveenvalecha » Unassigned
joyseeker’s picture

Is this fixed? I just updated to 7.39 and now I'm getting this message on all of my multi-sites. Thanks.

fizk’s picture

joyseeker, the 7.x.2-x branch is not yet functional. You can try the 7.x-1.x branch, but that is still in development.