Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | wyss.info | 601 bytes | nessumsara |
Comments
Comment #1
alisonsubscribing
Comment #2
Jorrit CreditAttribution: Jorrit commentedCould 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.
Comment #3
nessumsara CreditAttribution: nessumsara commentedI'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.
Comment #4
Jorrit CreditAttribution: Jorrit commentedThe problem is that your base theme is mentioned in the wyss.info file, but it is wrong. It should be
zen_classic
instead ofzen classic
, or the line should be removed.I will add code to cope with invalid base themes.
Comment #5
Jorrit CreditAttribution: Jorrit commented