Closed (fixed)
Project:
RoleAssign
Version:
master
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 Sep 2006 at 15:41 UTC
Updated:
22 Sep 2006 at 19:21 UTC
Jump to comment: Most recent file
When editing a users page Drupal dies with the error:
Fatal error: Call to undefined function: array_intersect_key() in /var/www/html/drupal-4.7/modules/roleassign/roleassign.module on line 102
Running on PHP 4.3
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | roleassign.patch | 1.23 KB | pjb |
Comments
Comment #1
buddaAlso occurs in the 4.7 package, line 100.
Comment #2
pjb commentedarray_intersect_key is a PHP5 function so that's likely the issue since you're running 4.3. I found this on the array_intersect_key page on PHP.net:
Patch is included that adds this to the beginning of the module file. The patch also includes the minor fix to your previous bug documented in http://drupal.org/node/85546 :)
pjb
Comment #3
TBarregren commentedI developed the module for PHP5 and missed to test on PHP4 :*)
Thanks budda who pointed it out, and pjb who provided a solution.