PHP/MySQL formfilter.module error on line 88?

Memeshift - May 14, 2008 - 20:28
Project:Formfilter
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Currently,
I have this module set up to filter out certain fields to certain users. When looking a form that has FormFilter applied however, I see this in Drupal's pink error reporting message above the form:

array_keys(): The first argument should be an array in /var/www/vhosts/mywebsite.org/subdomains/test/httpdocs/sites/all/modules/formfilter/formfilter.module on line 88.

Does anyone know what this is happening? Is it a PHP version issue?

Currently, I am running:

perl-Apache-ASP 2.57-cos4.build82070918.10
mysql 4.1.20-2.RHEL4.1.0.1
php 4.3.9-3.22.9

#1

Adelle - May 29, 2008 - 17:01

I'm getting the same error message with the cck_redirection module:
"warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in ../modules/cck_redirection/cck_redirection/cck_redirection.module on line 258."

Is this related to a different module? I'm running the latest drupal5 on a PHP5 server.

#2

leafish_paul - August 13, 2008 - 13:12
 
 

Drupal is a registered trademark of Dries Buytaert.