After adding an entity_example_basic entity I get his error:

Warning: Illegal offset type in isset or empty in entity_get_info() (Zeile 7463 von /data/all/002/drupal-7.12-dev/includes/common.inc).
Recoverable fatal error: Object of class stdClass could not be converted to string in og_get_group_audience_fields() (Zeile 1989 von /data/disk/o1/static/drupal-7.12-visavy-dev/sites/all/modules/og/og.module).

Is this og related?

Regards,
Stéphane

Comments

rfay’s picture

I would be very surprised if this has to do with entity_example_basic_entity; it also could be a flaw in og.

Does the problem go away when you disable entity_example?

Could you tell us what you do to get the error? Or is it on every page if og is enabled?

oskar_calvo’s picture

I got a similar message:

Recoverable fatal error: Object of class stdClass could not be converted to string in DatabaseStatementBase->execute() (line 2136 of /home/oscar/webapps/www/drupad/includes/database/database.inc).

I got this message when I go to:
http://drupad/examples/entity_example/basic/add

Thanks

oskar

amitgoyal’s picture

Status: Active » Postponed (maintainer needs more info)

I am not getting any such error in latest version of Drupal 7.15 and Organic Group 7.x-1.4.

Can you please provide the Drupal and Organic Group module versions?

mile23’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm not getting this error, with current Entity Example, Organic Groups 7.x-1.5, and Drupal 7.16.

Marking this as fixed.. Please re-open if it's still a problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.