{"id":2593,"date":"2015-08-22T04:02:29","date_gmt":"2015-08-22T04:02:29","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2593"},"modified":"2015-08-22T04:02:29","modified_gmt":"2015-08-22T04:02:29","slug":"white-screen-of-death-wsod-in-php-page","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/08\/22\/white-screen-of-death-wsod-in-php-page\/","title":{"rendered":"White Screen of Death (WSOD) in php page"},"content":{"rendered":"<p>You must turn on PHP error reporting. To do this, you should change the setting in your php.ini config file. Temporarily insert the following lines in your index.php file:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nerror_reporting(E_ALL);\nini_set(&#039;display_errors&#039;, TRUE);\nini_set(&#039;display_startup_errors&#039;, TRUE);\n\n<\/pre>\n<p>Make sure that you have inserted the code directly after the opening PHP tag. The errors should now appear directly on your screen. Alternatively, check your log files for the most recent errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You must turn on PHP error reporting. To do this, you should change the setting in your php.ini config file. Temporarily insert the following lines in your index.php file: error_reporting(E_ALL); ini_set(&#039;display_errors&#039;, TRUE); ini_set(&#039;display_startup_errors&#039;, TRUE); Make sure that you have inserted the code directly after the opening PHP tag. The errors should now appear directly on &#8230; <a title=\"White Screen of Death (WSOD) in php page\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/08\/22\/white-screen-of-death-wsod-in-php-page\/\" aria-label=\"Read more about White Screen of Death (WSOD) in php page\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[],"class_list":["post-2593","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2593"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2593\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}