When I view a form that has an editor enabled field I get the following error three times

"warning: Invalid argument supplied for foreach() in /nfs/c03/h03/mnt/54615/domains/wyssfoundation.org/html/drupal/sites/all/modules/fckeditor/fckeditor.module on line 1154."

line 1154 is "foreach ($base->stylesheets as $type => $stylesheets) {"

The editor still works, but the error is troublesome because all logged users see it. I am using a custom theme.

#3 wyss.info601 bytesnessumsara


alisonjo2786’s picture


Jorrit’s picture

Status:Active» Postponed (maintainer needs more info)

Could you attach or post the info file of your theme and list the .css files in the directory of your theme? Also the list of base themes and their info files and css files.

nessumsara’s picture

new601 bytes

I've attached the info file. The only css file is styles.css. Base theme is Zen Classic. I have not changed anything in that theme from the default.

Jorrit’s picture

The problem is that your base theme is mentioned in the wyss.info file, but it is wrong. It should be zen_classic instead of zen classic, or the line should be removed.

I will add code to cope with invalid base themes.

Jorrit’s picture

Status:Postponed (maintainer needs more info)» Fixed

Status:Fixed» Closed (fixed)

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