When deleting comments after the latest upgrade, I get this PHP error:

Fatal error: Cannot use object of type stdClass as array in /var/www/domesticat.net/sites/all/modules/blockcache_alter/blockcache_alter.module on line 292

Comments

swentel’s picture

Mmm, that doesn't look good, looking into that today and tomorrow, thanks for the report!

cardentey’s picture

me too.

Fatal error: Cannot use object of type stdClass as array in /home/sobrefam/public_html/sites/all/modules/blockcache_alter/blockcache_alter.module on line 292

swentel’s picture

Status: Active » Needs review

Ok, can you guys test out the new development version (wait for the next build) or open blockcache_alter.module and change following line:

$thiscnode = node_load($comment['nid']);
should be
$thiscnode = node_load($comment->nid);

(can be line 292 / 293)

cardentey’s picture

I made the change and it works!

Thank you very much.

swentel’s picture

Status: Needs review » Fixed

Ok, great, fixing status, new official release will be available this week somewhere.

swentel’s picture

Status: Fixed » Closed (fixed)

Release is out, marking closed.