Attempt to modify property "display" on null in PHP 8.0

Created on 22 September 2022, about 2 years ago
Updated 10 May 2023, over 1 year ago

Problem/Motivation

Error: Attempt to modify property "display" on null in administerusersbyrole_views_default_views_alter() (line 78 of administerusersbyrole/administerusersbyrole.module).

Steps to reproduce

Using PHP 8.0 attempt to rebuild cache maybe using the command `drush rr`.

Proposed resolution

Check if the handler is not NULL before attempting to modify

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Ronino

    #2 works for me, thanks!

  • Status changed to Closed: won't fix over 1 year ago
  • 🇬🇧United Kingdom adamps

    Sorry I'm no longer maintaining Drupal 7.

  • Status changed to Needs review over 1 year ago
  • 🇬🇧United Kingdom adamps

    Let's leave the issue open so other's can find the patch

  • Status changed to RTBC over 1 year ago
  • 🇨🇦Canada joelpittet Vancouver

    @AdamPS, I don't mind maintaining D7 till the bitter end, feel free to add me as a co-maintainer and I'll take care of this.

  • 🇬🇧United Kingdom adamps

    @joelpittet OK thanks - you should now have permission to make commits and create releases.

    For the time being, I'm expecting you'll stick to D7 and I'll stick to D8+. If you wanted to get involved in D8+ that could also work, however we should start with a discussion how to coordinate and work together.

Production build 0.71.5 2024