Hi

After upgrading to D 7.4 & updating a couple of modules, I have this error at the bottom of the site:
Fatal error: Cannot access empty property in /home/woof/public_html/includes/common.inc on line 7399.

I dont quite remember seeing this specific error when I updated, and just noticed it later when working on a theme. I first suspected the theme, for which I had just created a subtheme, but it appears with other themes, including Bartik.

So, what could be the source?

Regards

Comments

travelertt’s picture

I'm getting the same error when I try to run Cron.

Fatal error: Cannot access empty property in \includes\common.inc on line 7399

Just updated to 7.4 last week.

There's a time for everything.

travelertt’s picture

Getting these additional error messages as well.

Warning: class_implements() [function.class-implements]: object or string expected in entity_type_supports() (line 68 of C:\xampp\htdocs\drupal\sites\all\modules\entity\entity.module).
Warning: in_array() expects parameter 2 to be array, boolean given in entity_type_supports() (line 68 of C:\xampp\htdocs\drupal\sites\all\modules\entity\entity.module).
Warning: Invalid argument supplied for foreach() in _field_info_collate_fields() (line 215 of C:\xampp\htdocs\drupal\modules\field\field.info.inc).
Warning: array_keys() expects parameter 1 to be array, null given in redirect_field_extra_fields() (line 1425 of C:\xampp\htdocs\drupal\sites\all\modules\redirect\redirect.module).
Warning: Invalid argument supplied for foreach() in redirect_field_extra_fields() (line 1425 of C:\xampp\htdocs\drupal\sites\all\modules\redirect\redirect.module).
Warning: Invalid argument supplied for foreach() in field_ui_admin_menu_map() (line 69 of C:\xampp\htdocs\drupal\sites\all\modules\admin_menu\admin_menu.map.inc).

There's a time for everything.

federico.giunchi’s picture

Same problem using Mayo modified as theme.

toxiclung’s picture

subscribing
i got this error too

mirabuck’s picture

I'm encountering the same issue using a custom theme.

lionheart8’s picture

I had also around the same time made other changes, including upgrading to a buggy media_gallery module & also tried doing some changes involving creating a new subtheme of the upgraded Omega theme.

After reverting to the previous version of the both module & subtheme, I have no more errors showing.
Not sure there's necessarily a connection, ...

Chipie’s picture

Subsribe

danihobbs’s picture

subscribe

dernetzjaeger’s picture

I had have the same problem.
Tried to clean all Caches and it works.
No error message in pagebottom
Fatal error: Cannot access empty property in ...../includes/common.inc on line 7399.

But the message still apears when I try to run the Cron.

kind regards, Marc

bittu10’s picture

I am also getting

Fatal error: Cannot access empty property in includes/common.inc on line 7399

I'm also getting below error for all the modules

Notice: Undefined index: label in ctools_context_entity_get_children() (line 39 of sites/all/modules/ctools/plugins/contexts/entity.inc).
Notice: Undefined index: bundles in ctools_entity_form_field_content_type_content_types() (line 38 of sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc).
Warning: Invalid argument supplied for foreach() in ctools_entity_form_field_content_type_content_types() (line 38 of sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc).
Notice: Undefined index: bundles in ctools_entity_field_content_type_content_types() (line 38 of sites/all/modules/ctools/plugins/content_types/entity_context/entity_field.inc).
Warning: Invalid argument supplied for foreach() in ctools_entity_field_content_type_content_types() (line 38 of sites/all/modules/ctools/plugins/content_types/entity_context/entity_field.inc).

Thanks
bittu10

bittu10’s picture

Hi,

I too was getting that error. After reading posts from

http://drupal.org/node/1180060#comment-4711836

I disabled my media+gallery beta5 module. The above error went away. My other errors

Undefined index: bundles in field_info_bundles, Invalid argument supplied for foreach() in _field_info_collate_fields, Undefined index: label in ctools_context_entity_get_children, Undefined index: bundles in ctools_entity_form_field_content_type_content_types, Invalid argument supplied for foreach() in ctools_entity_form_field_content_type_content_types, Undefined index: bundles in ctools_entity_field_content_type_content_types,Invalid argument supplied for foreach() in ctools_entity_field_content_type_content_types

too had gone.
The root cause might be in media_gallery module.

Thanks
bittu10

danihobbs’s picture

I can confirm the above solution worked for me as well; seems to be a Media module issue.

mirabuck’s picture

Uninstalling media gallery beta5, updating to media gallery beta6 and reinstalling seems to have resolved this for me.

nitmd’s picture

I have this error, but for me it showed up under a 7.2 installation, not sure when. When a user attempts to download a .pdf from a file list, they get this error. I do not have the media module installed, I did have video installed but have made it inactive. I updated to 7.4 and updated all modules, but the error is still there and my documents are still inaccessible.

Update: I discovered that by removing all of my content and reloading it, it all works again.