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
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
Comment #1
swentel commentedMmm, that doesn't look good, looking into that today and tomorrow, thanks for the report!
Comment #2
cardentey commentedme 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
Comment #3
swentel commentedOk, 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)
Comment #4
cardentey commentedI made the change and it works!
Thank you very much.
Comment #5
swentel commentedOk, great, fixing status, new official release will be available this week somewhere.
Comment #6
swentel commentedRelease is out, marking closed.