PHP Fatal error: Cannot pass parameter 1 by reference in /var/www/web/drupal-tni-core/docroot/modules/contrib/readonlymode/readonlymode.module on line 187

The above error occurs when I try to login as non admin user and visit /admin/content page.

Comments

saikatewu created an issue. See original summary.

saikatewu@gmail.com’s picture

Issue summary: View changes
saikatewu@gmail.com’s picture

This patch worked for me.

rasikap’s picture

Status: Active » Needs review
BarisW’s picture

Version: 8.x-1.0-beta1 » 8.x-1.x-dev
Priority: Critical » Normal
Status: Needs review » Reviewed & tested by the community

Looks good to me. Thanks!
Also, this is not critical.

  • BarisW committed e0b08aa on 8.x-1.x authored by saikatewu
    Issue #2830417 by saikatewu, BarisW: PHP Fatal error:  Cannot pass...
BarisW’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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