Warning: in_array() [function.in-array]: Wrong datatype for second argument in drupal_write_record() (line 7051 of C:\wamp\www\xxxxx\includes\common.inc).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in drupal_write_record() (line 7051 of C:\wamp\www\xxxxx\includes\common.inc).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in drupal_write_record() (line 7051 of C:\wamp\www\xxxxx\includes\common.inc).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in drupal_write_record() (line 7051 of C:\wamp\www\xxxxx\includes\common.inc).
Notice: Undefined index: label in ctools_argument_entity_id_get_children() (line 31 of C:\wamp\www\xxxxx\profiles\recruiter\modules\ctools\plugins\arguments\entity_id.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Notice: Undefined index: label in entity_views_table_definition() (line 147 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\views\entity.views.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 84 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_type_supports() (line 84 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Notice: Undefined index: label in ctools_argument_entity_id_get_children() (line 31 of C:\wamp\www\xxxxx\profiles\recruiter\modules\ctools\plugins\arguments\entity_id.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Notice: Undefined index: label in ffc_rules_event_info() (line 34 of C:\wamp\www\xxxxx\sites\all\modules\field formatting modules\ffc\ffc.rules.inc).
Notice: Undefined index: label in rules_entity_type_options() (line 264 of C:\wamp\www\xxxxx\profiles\recruiter\modules\rules\modules\entity.rules.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Notice: Undefined index: label in entity_views_table_definition() (line 147 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\views\entity.views.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 84 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_type_supports() (line 84 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Notice: Undefined index: id in flag_entity->get_views_info() (line 197 of C:\wamp\www\xxxxx\profiles\recruiter\modules\flag\includes\flag\flag_entity.inc).
Notice: Undefined index: base table in flag_entity->get_views_info() (line 196 of C:\wamp\www\xxxxx\profiles\recruiter\modules\flag\includes\flag\flag_entity.inc).
Notice: Undefined index: id in flag_entity->get_views_info() (line 197 of C:\wamp\www\xxxxx\profiles\recruiter\modules\flag\includes\flag\flag_entity.inc).
Notice: Undefined index: label in flag_entity->get_views_info() (line 199 of C:\wamp\www\xxxxx\profiles\recruiter\modules\flag\includes\flag\flag_entity.inc).
Notice: Undefined index: label in flag_entity->get_views_info() (line 201 of C:\wamp\www\xxxxx\profiles\recruiter\modules\flag\includes\flag\flag_entity.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of C:\wamp\www\xxxxx\profiles\recruiter\modules\entity\entity.module).

Comments

mahaprasad’s picture

Hi,
I have created patch file to avoid below warnings:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in drupal_write_record() (line 7051 of C:\wamp\www\xxxxx\includes\common.inc).

Kindly apply this patch & test.

Could you please provide me the list module that are enabled with this ad module, this will help to resolve other warnings.

Thank You!

kaizerking’s picture

from the above errors my wild guess is that entity support is missing for the ad_type content , I am usingrecruiter distribution

destinationsound’s picture

Here is my list of errors. Looks like entity module support is lacking.

Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Notice: Undefined index: label in entity_views_table_definition() (line 147 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/views/entity.views.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 84 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_type_supports() (line 84 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_crud_get_info() (line 620 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Notice: Undefined index: label in entity_views_table_definition() (line 147 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/views/entity.views.inc).
Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 84 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in entity_type_supports() (line 84 of /home/destinationsound/soniktutorials.com/sites/all/modules/entity/entity.module).

rosgar’s picture

#1 patch failed.

Testing on local computer, enabled and a bunch of errors

* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Notice: Undefined index: label in entity_views_table_definition() (line 147 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/views/entity.views.inc).
* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 84 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_type_supports() (line 84 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_crud_get_info() (line 620 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Notice: Undefined index: label in entity_views_table_definition() (line 147 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/views/entity.views.inc).
* Warning: class_implements() [function.class-implements]: Class AdvertisementEntityController does not exist and could not be loaded in entity_type_supports() (line 84 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Warning: in_array() expects parameter 2 to be array, boolean given in entity_type_supports() (line 84 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/entity/entity.module).
* Notice: Undefined index: id in flag_entity->get_views_info() (line 228 of /Applications/MAMP/htdocs/tribune722/sites/all/modules/flag/includes/flag/flag_entity.inc).