Search code examples
wordpressscreen

Wordpress dreaded white screen while creating or updating a post


I created a wordpress theme and after uploading and activating the scheme to the server everything looks all right... but when I try to use the admin section of wordpress then I am having a problem with a 'white screen' or when creating new posts and when trying to log out... when i try to update a post or create a new page it just stays on post.php and the page is left blank.. Please suggest what should i do? I have the same theme running on my local xampp server but it working ok.


Solution

  • You should enbale Debug in your wp-config file , there must be an error in the code which is causing this issue.

    define('WP_DEBUG', true);