Closed (fixed)
Project:
Taxonomy Easy Filter
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jun 2006 at 19:12 UTC
Updated:
23 Jun 2006 at 09:30 UTC
After enabling the module and going to the setup section, altering some settings and try to submit i get
Fatal error: Call to undefined function: array_intersect_key() in /home/weplycom/public_html/porttalbotchat-co-uk/modules/taxonomy_ezfilter/taxonomy_ezfilter.module on line 92
Now i can no longer access the setup page for this module.
Tried both CVS abd 4.7 versions with the same result.
Comments
Comment #1
zealy commentedArray_intersect_key() is a php5 function(PHP 5 >= 5.1.0RC1), but you can use it in older php by PEAR package PHP_Compat.
See also:
Function array_intersect_key document at php.net, there are some workarounds for older php in user's comments.
PHP_Compat Package at pear.php.net
Thank you.
Comment #2
desm0n commentedAh thats a real shame as i'm on a shared host and its likely they will not add that.
I'll have to try that other taxonomy filter but i had high hopes for yours.
Maybe you should update documentation to reflect that this is needed as many of php 4 are likely not to have it.
Thanks for your prompt response.
Comment #3
zealy commentedI have intergrated a workaround for array_intersect_key() for php <5.1. So this module can support php 4.3+, because array_intersect_assoc() need php 4> 4.3.0 or php 5.
Comment #4
desm0n commentedthats great. Is it now including in the CVS ?
I'm really eager to try the module .
Comment #5
zealy commentedyes, download and cvs are all updated.
Comment #6
(not verified) commented