Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Some of my users have been getting this error:
Fatal error: Cannot unset string offsets in .../sites/all/modules/authcache/authcache.module on line 560
Line 559-561 are these lines in the authcache.module code
if ($user->uid && $is_page_authcache) {
unset($links['comment_edit']);
}
If you change it to this, it seems to work for all users:
if ($user->uid && $is_page_authcache && isset($links['comment_edit'])) {
unset($links['comment_edit']);
}
Comments
Comment #1
simg CreditAttribution: simg commentedThanks Omertron.
I'm just working through closing old issues and it looks like this fix was applied some time ago. closing this issue.