Closed (won't fix)
Project:
User Visits
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2008 at 03:56 UTC
Updated:
5 Mar 2010 at 12:16 UTC
When you open a profile pages:
Fatal error: Call to undefined function: array_intersect_key() in /.../public_html/sites/all/modules/user_visits/user_visits.module on line 282
An example here: http://credit-helpers.com/user/1 (not my site)
Comments
Comment #1
sanduhrsThe function is available since PHP 5.1.0 see http://de2.php.net/array_intersect_key
You probably need to upgrade your php installation or rewrite the function and include it in the module (see the comments on php.net).
Comment #2
mnoyes commentedFWIW I had to disable PHP 5 then re-enable it. (Lunarpages hosting)
Comment #3
digibill commentedThis also happened to me after the update from 6.15 to 6.16 in one of my sites. After the update I tried to open the administration page and got this error:
Fatal error: Call to undefined function: array_intersect_key() in /...//public_html/modules/update/update.compare.inc on line 695
I switched the server php to php4 and then back to 5 and the issue resolved! Seems it has to do something with the server (I also updated another site that runs on different server and didn't get this issue...)