I receive two errors:

    Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (linea 335 di /home/xxxxeu/public_html/sites/all/modules/entity/entity.module).
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (linea 335 di /home/xxxxeu/public_html/sites/all/modules/entity/entity.module).

How I solve? Thanks

Comments

fago’s picture

Project: Entity API » Advertisement
Component: Code - misc » ad module

Sounds to be related with the ad module.

mubeen1313’s picture

I have also received two errors:

* Warning: Parameter 1 to ad_external_node_view() expected to be a reference, value given in module_invoke_all() (line 819 of D:\wamp\www\xxxxx\includes\module.inc).
* Warning: Parameter 1 to ad_external_node_view() expected to be a reference, value given in module_invoke_all() (line 819 of D:\wamp\www\xxxxx\includes\module.inc).

how i solve this error???
Thanks

aristeides’s picture

I too receive errors like these:
When enabling the Ad module

    Warning: in_array() expects parameter 2 to be array, null given in drupal_write_record() (line 6819 of /includes/common.inc).
    Warning: in_array() expects parameter 2 to be array, null given in drupal_write_record() (line 6819 of /includes/common.inc).
    Warning: in_array() expects parameter 2 to be array, null given in drupal_write_record() (line 6819 of /includes/common.inc).
    Warning: in_array() expects parameter 2 to be array, null given in drupal_write_record() (line 6819 of /includes/common.inc).
    Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 494 of /sites/all/modules/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 494 of /sites/all/modules/entity/entity.module).
    Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 494 of /sites/all/modules/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 494 of /sites/all/modules/entity/entity.module).
    Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 494 of /sites/all/modules/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 494 of /sites/all/modules/entity/entity.module).
    Notice: Undefined index: label in entity_views_table_definition() (line 123 of /sites/all/modules/entity/views/entity.views.inc).
    Warning: class_implements(): Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 72 of /sites/all/modules/entity/entity.module).
    Warning: in_array() expects parameter 2 to be array, boolean given in entity_type_supports() (line 72 of /sites/all/modules/entity/entity.module).
johnmichos’s picture

I take the same, too.

rojesaga’s picture

I upgrade de module and apply the patch
http://drupal.org/node/1335278#comment-5217930

So far so good.

anybody’s picture

Issue summary: View changes
Status: Active » Closed (outdated)