Problem/Motivation
The variable_realm module crashes with:
`ArgumentCountError: array_intersect() does not accept unknown named parameters in array_intersect() (line 91 of /var/www/html/profiles/utcfs/modules/contrib/variable/variable_realm/variable_realm_union.class.inc).` in PHP 8.0
Proposed resolution
I've attached a patch which removes the parameter names from the arrays and fixes the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | variable_3305683.patch | 1.03 KB | mvantuch |
Comments
Comment #2
mvantuch commentedComment #3
sano commentedThe patch worked for me in php 8.1. Thank you.
Comment #4
poker10 commented