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.
installed latest cvs-version (13-08-04)
to administer themes causes the following error message:
warning: ksort() expects parameter 1 to be array, null given in /usr/local/www/elearn/modules/system.module on line 324.
warning: Invalid argument supplied for foreach() in /usr/local/www/elearn/modules/system.module on line 326.
Comments
Comment #1
(not verified) CreditAttribution: commentedIt's because of latest commit to system.module by Stefan.Just go back to version before his commit (there is a check for files in 'templates' directory, which doesn't exist).
BTW Please don't put things like .css handling in system.module. It's theme dependant IMHO. For example i'll be doing xml+xsl theme, and css will depend on xsl (which may even not use css at all).
Comment #2
TDobes CreditAttribution: TDobes commentedThis problem is due to an accidental commital of part of the template system patch. I have already informed Dries of the problem... he said he'd look at reverting after work.
Comment #3
ixis.dylan CreditAttribution: ixis.dylan commentedIs this the reason that user avatars/pictures aren't working for me, too?
Comment #4
TDobes CreditAttribution: TDobes commentedleafish_dylan: I really don't know... maybe. Try using this version of system.module instead... that's the version from before the accidental check-in.
Comment #5
Steven CreditAttribution: Steven commentedI rolled back the faulty commit.
Comment #6
(not verified) CreditAttribution: commented