When I install and enable both Conditions and Virtual Sites I get the following message

Fatal error: Call to undefined function: array_intersect_key() in /home/whea/public_html/modules/condition/condition.module on line 116

I know next to zero about php. I don't even know if this is a bug or what. Can you help?

Comments

Glenalth’s picture

Same issue here, just followed the instructions on the Virtual Site documentation for testing and ended up with...

Fatal error: Call to undefined function: array_intersect_key() in /home/pegasusv/public_html/modules/condition/condition.module on line 119

This was immediately after selecting "When ANY selected condition is met" and saving the settings.

Glenalth’s picture

Had some folks point out the issue to me. The array_intersect_key() function does not exist in PHP 4 and shows up somewhere around 5.1.

tobiassjosten’s picture

Status: Active » Fixed

I just committed the fix by Docc (http://drupal.org/node/278440#comment-907692) and a development release with this should be up within a few hours.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.