I installed switchtheme and later decided it was not what I needed.
I disabled the module and then found that after switching theme's in Admin->Appearance that the theme did not change for me(user 1). The theme DOES change for all other users, including anonymous.
If I give administrator permissions to another user and they change the theme it still changes for all users except user 1.
As soon as I re-enable the module all goes back to normal. I also tried uninstalling the module but this did not help, I also tried clearing the cache (many times just to be sure.)
I figured out that once a user changes the theme using switchtheme and then the module is disabled, the theme is stuck and can't be changed using Admin->Appearance
Any help is greatly appreciated.
Comments
Comment #1
headscratching CreditAttribution: headscratching commentedMy experience of this module mirrors that of the OP johnlaine. I haven't changed the priority though I do consider it more than just "normal" as having disabled it, it is then a great inconvenience to be unable to manage themes properly. A workaround or an early fix is hoped for.
Comment #2
jsinbc CreditAttribution: jsinbc commentedSwitchtheme stores the name of the selected theme in the users table in the db. Disabling and uninstalling the module does not clear this value.
Editing the table using something like phpmyadmin and changing the default theme field to blanks will restore the correct behaviour.
Comment #3
johnlaine CreditAttribution: johnlaine commentedThanks jsinbc, that did the trick.
I was unaware of this entry in the database.
Shouldn't this entry get deleted when the module is uninstalled? Or at least some documentation mentioning it?
I am somewhat of a noob and maybe most would know to check the db for this entry, but I'm probably not alone.
Thanks again!
Comment #4
Taxoman CreditAttribution: Taxoman commentedYes, this must be a missing piece in the uninstall code.
Comment #5
Hanpersand CreditAttribution: Hanpersand commentedI have this same problem, and I think it's a very frustrating bug. I had a site builder have trouble with Switch theme, then uninstall it, and now the theme is stuck for user 1. A site builder should not have to worry about the value in the db table. I hope this gets fixed. Thanks very much.
Comment #5.0
Hanpersand CreditAttribution: Hanpersand commentedUpdate findings
Comment #6
dsoini CreditAttribution: dsoini commentedSame problem here and same solution (manually editing users table.)
Comment #7
izmeez CreditAttribution: izmeez commentedWe experienced the same problem.
Also on disable and uninstall the following notice is displayed,
Comment #8
izmeez CreditAttribution: izmeez commentedAdded related issue