naplesdave wrote:Hi Jason,
I had to turn it off again today. Strange. I went through my list of plugins and left it till last and when I turned it off I got my template back.
Do you know where I should start looking?
Hi Dave. It sounds like your theme is returning an empty page at certain times, or under certain circumstances. For instance, if a PHP syntax error occurs in your theme every once in awhile, it could result in an empty page, that ends up in the cache. This would not happen very often, only at certain times, randomly even.
I'd turn PHP error logging on, and monitor your log files for PHP errors. See if you can figure out where and when your theme is returning a blank page. Place these lines in your wp-config.php file.
- Code: Select all
@ini_set('log_errors','On');
@ini_set('display_errors','Off');
@ini_set('error_log','/home/example.com/logs/php_error.log');
Don't forget to change /home/example.com/logs/
to a location where you want your log files stored.