I am using Role Theme Switcher to create a personal webpage that requires login to view the content of the site. I am running Durpal 5.1 and keep running into this error only from an anonymous user role:

Fatal error: Call to undefined function: system_themes() in /home/jr8279/public_html/modules/role_theme_switcher/role_theme_switcher.module on line 18

Has anyone else run into this issue and is there a possible solution for it?

Comments

jr8279’s picture

If found the culprit! I had caching turned on (normal mode, not aggressive mode). I turned of caching and everything works fine.

tiutiun’s picture

Thank you for report.
I'll try to figure out where the bug comes from :-)

tiutiun’s picture

Assigned: Unassigned » tiutiun
Status: Active » Fixed
tiutiun’s picture

Please test new version of Role Theme Switcher.
I've added support of cache system.
But, as cache system is a pretty tricky thing, I would advice after any changes in Role theme Switcher interface to empty the cache.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.