PHP5 throws this error (but PHP7 doesn't) on line 108 of AccessManagerBase.php.

Suggest changing
if (!isset(self::CONVERT_OP[$operation])) {

for this
if (null !== (self::CONVERT_OP[$operation])) {

Comments

qdoscc created an issue. See original summary.

  • AdamPS committed 47baf51 on 8.x-3.x
    Issue #2924196: Cannot use isset() on the result of an expression
    
adamps’s picture

Status: Active » Fixed

Thanks for the report. I should use array_key_exists()

Status: Fixed » Closed (fixed)

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