Moderator
t-p
(@t-p)
have you tried:
-deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually (one-by-one) to find the problematic plugin.
If you don’t have access to your admin area, try deactivating them manually via FTP or phpMyAdmin.
-switching to the default theme (“twentyten”) for a moment by renaming your current theme’s folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.
If you don’t have access to your admin area, then access your server via FTP or SFTP or whatever file management application your host provides.
– resetting the plugins folder by FTP or phpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed).
-If the above steps do not resolve the issue, download WordPress again and replace your copies of everything EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies. This should replace your core files without changing your content and settings in wp-config.php file and the /wp-content/ directory.
I fixed it just before reading this! lol but I did some of the things you mentioned, I activated the default theme and then I looked through some of my files and found a few that had some changes from the orignal install so I replaced those and then actived the theme.
Next thing, can you tell me how I can set a template for a page that I create when I hit submit on a form(using TDO Mini Forms)? I want to make a list of some templates from OptimizePress and some of my own, and then set the selected template to the page that is created.
I tried to use the theme switching:
in functions.php:
function updateTheme($theme){
update_option(‘template’, $theme);
update_option(‘stylesheet’, $theme);
update_option(‘current_theme’, $theme);
}
in the form:
updateTheme(‘OptimizePress’);
This is how I got into the errors I showed above. Any help?