Theme Options save causes blank screen
-
I recently added a theme options section under the appearance menu in the WP back end.
It loads fine but as soon as I click save or reset I get the white screen of death… although the changes are implemented.
Turning off plugins did nothing, I have checked tables etc and can’t see anything obvious. I am developing it locally through MAMP if that helps.
The theme options file is included at the bottom of the functions.php file. The really strange thing is that if I move the include code from the bottom of the functions.php file to the top I no longer get a white screen but instead get a “you do not have permission…” message. Move it back down and it’s a blank white screen again on submit or reset.
At one point other back end pages were failing on submit also but I seemed to have fixed that for now… everything was 100% fine until I added this theme options page and it was pasted from a tutorial.
I am out of ideas.
- The topic ‘Theme Options save causes blank screen’ is closed to new replies.