Fatal error: Cannot use object of type stdClass as array in /data/disk/devel/distro/001/drupal-7.15.2-stage/sites/domain.com/modules/views_content_cache/plugins/views_content_cache/og.inc on line 35

It happend when a comment is added.

Comments

liberatr’s picture

StatusFileSize
new503 bytes

Comments are objects in D7, so I got my comment form to submit by changing the accessor from array ids to object style.

mstef’s picture

Status: Active » Needs review
StatusFileSize
new669 bytes

Here's a re-rolled patch from the proper directory.

colan’s picture

Tagging.

steven jones’s picture

#2: views_content_cache_1827682_2.patch queued for re-testing.

steven jones’s picture

Status: Needs review » Fixed

Patch looks sensible, committed to 7.x-3.x

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