Received this error when I enabled the module and set it to validate when conditions are met.
Thats because this function is from PHP 5.1.0 and up. You can create your own function and place it into the module.
Example:
function array_intersect_key($arr1, $arr2) { $res = array(); foreach($arr1 as $key=>$value) { $push = true; for ($i = 1; $i < func_num_args(); $i++) { $actArray = func_get_arg($i); if (gettype($actArray) != 'array') return false; if (!array_key_exists($key, $actArray)) $push = false; } if ($push) $res[$key] = $arr1[$key]; } return $res; }
Your awesome Doc! That worked perfectly!
Thank you!
Sam
It worked! Thanks, docc!
This is a duplicate of #247217.
thanks, it worked for me.
Comments
Comment #1
Docc commentedThats because this function is from PHP 5.1.0 and up.
You can create your own function and place it into the module.
Example:
Comment #2
smurk75 commentedYour awesome Doc! That worked perfectly!
Thank you!
Sam
Comment #3
superkuton commentedIt worked! Thanks, docc!
Comment #4
tobiassjosten commentedThis is a duplicate of #247217.
Comment #5
gejo commentedthanks, it worked for me.