{"id":34021,"date":"2019-03-07T12:57:43","date_gmt":"2019-03-07T12:57:43","guid":{"rendered":"http:\/\/getshortcodes.com\/?post_type=docs&#038;p=34021"},"modified":"2019-03-07T12:57:43","modified_gmt":"2019-03-07T12:57:43","slug":"white-screen-error-500","status":"publish","type":"docs","link":"https:\/\/getshortcodes.com\/docs\/white-screen-error-500\/","title":{"rendered":"White screen (error 500)"},"content":{"rendered":"\n<p>If you find a white screen or error 500 that usually means something has triggered a PHP error, but errors are hidden on your server. To find out the cause of the error you have two choices:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Look at your server error logs and find the latest <code>fatal error<\/code><\/li><li>Enable <code>WP_DEBUG<\/code> mode and view the page again<\/li><\/ul>\n\n\n\n<p>Enabling <code>WP_DEBUG<\/code> involves editing your <code>wp-config.php<\/code> file and changing, or adding if its not there:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG', true );<\/code><\/pre>\n\n\n\n<p>When this is done, a more useful error message should be shown. Most of the time this contains the name of the plugin and the line number causing the issue allowing you to act.<\/p>\n","protected":false},"featured_media":0,"template":"","docs_category":[22],"class_list":["post-34021","docs","type-docs","status-publish","hentry","docs_category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs\/34021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/types\/docs"}],"wp:attachment":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media?parent=34021"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs_category?post=34021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}