i get the following error when navigate to administer>configuration>themes

Fatal error: Call to undefined function: system() in test/modules/system.module on line 307

Comments

ax’s picture

this is due to dries' recent "stage 1 of the theme system improvements" patch ("migrating away from the $theme object") [1]. the patch updates all core themes - non-core themes (which you are probably using) still have to be updated. have a look at [2] and the changes dries did [3] to see what has to be changed in your theme.

this should probably made a task ("update contributed themes").

[1] http://lists.drupal.org/archives/drupal-cvs/2003-11/msg00101.html
[2] http://lists.drupal.org/archives/drupal-devel/2003-11/msg00200.html
[3] http://lists.drupal.org/archives/drupal-cvs/2003-11/msg00102.html - http://lists.drupal.org/archives/drupal-cvs/2003-11/msg00104.html

erikhopp’s picture

it actually happened when i was using unconed and marvin (obviously these are core themes).

i did not have time to put in my own theme.

but i'll look at the references in your post and see about upgrading my custom theme so that i can use that.

thanks for the input.

erik.

dries’s picture

We are busy making theme system changes. Themes no longer need the system function so it looks as if your modules/system.module file is not up to date (or at least, not in sync with your themes).

erikhopp’s picture