I updated og to recommended version and received the following errors:
Notice: Trying to get property of non-object in EntityAPIController->load() (line 202 of /home/xxx/public_html/xxx/sites/all/modules/entity/includes/entity.controller.inc).
Notice: Trying to get property of non-object in EntityAPIController->load() (line 222 of /home/xxx/public_html/xxx/sites/all/modules/entity/includes/entity.controller.inc).
Notice: Trying to get property of non-object in EntityAPIController->load() (line 202 of /home/xxx/public_html/xxx/sites/all/modules/entity/includes/entity.controller.inc).
Notice: Trying to get property of non-object in EntityAPIController->load() (line 222 of /home/xxx/public_html/xxx/sites/all/modules/entity/includes/entity.controller.inc).
Notice: Trying to get property of non-object in og_label_multiple() (line 1233 of /home/xxx/public_html/xxx/sites/all/modules/og/og.module).
Notice: Trying to get property of non-object in og_label_multiple() (line 1235 of /home/xxx/public_html/xxx/sites/all/modules/og/og.module).
Notice: Undefined index: label in og_label_multiple() (line 1236 of /home/xxx/public_html/xxx/sites/all/modules/og/og.module).
Notice: Trying to get property of non-object in og_label_multiple() (line 1237 of /home/xxx/public_html/xxx/sites/all/modules/og/og.module).
Notice: Trying to get property of non-object in og_label_multiple() (line 1239 of /home/xxx/public_html/xxx/sites/all/modules/og/og.module).
Comments
Comment #1
seanberto CreditAttribution: seanberto commentedI am running into this error too. And when I drush cc all, I get the following fatal error:
Error: Class 'OgMembershipTypeViewsController' not found in /[snip]/modules/contrib/entity/views/entity.views.inc, line 20.
I get this bug with Entity API Beta9 and Beta 10 - as well as the latest dev release.
Comment #2
seanberto CreditAttribution: seanberto commentedWow. Wacky. If you truncate your cache manually in the database, this error goes away and the latest release works fine.
Comment #3
featherbellyThanks for the tip.
And everything should be working again! Phew...
Comment #4
dddbbb CreditAttribution: dddbbb commentedManually truncating cache tables isn't working for me.