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.
I keep getting this message :
warning: Invalid argument supplied for foreach() in /home/drupal/modules/system/system.module on line 876.
It might not be related, but I'm also getting a blank page when going to cron.php, but in my recent log entries, it shows that it was run.
thanks
Comments
Comment #1
ericpai CreditAttribution: ericpai commentedIt seems that the _system_theme_data() function in system.module is looking for for stylesheets? I added another stylesheet to my themes .info file and one of the warnings went away. Now there is still one warning line like this: "
warning: Invalid argument supplied for foreach() in /home/drupal/modules/system/system.module on line 876.
" Here is my .info file's stylesheets:Am I missing some default stylesheet that Drupal is looking for?
Comment #2
ericpai CreditAttribution: ericpai commentedAnyone know what the problem is? Here are all ther css and js files in my .info file:
Comment #4
apadernoI am removing issue tags used from one to four issues. I apologize for bumping the issue.