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

Anonymous’s picture

It'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).

TDobes’s picture

This 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.

ixis.dylan’s picture

Is this the reason that user avatars/pictures aren't working for me, too?

TDobes’s picture

leafish_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.

Steven’s picture

I rolled back the faulty commit.

Anonymous’s picture