{"id":1477,"date":"2017-03-17T14:24:46","date_gmt":"2017-03-17T14:24:46","guid":{"rendered":"http:\/\/docs.contentviewspro.com\/?p=1477"},"modified":"2023-12-28T07:56:27","modified_gmt":"2023-12-28T07:56:27","password":"","slug":"get-real-error-message-500-error-debugging","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/get-real-error-message-500-error-debugging\/","title":{"rendered":"Debug: get details message of error 500"},"content":{"rendered":"<p>Hello,<br \/>\nSometimes you will encounter the 500 error when use a feature of theme or a plugin. To identify which causes the error, please follow 3 steps below:<\/p>\n<p>1. Open file <strong>wp-config.php<\/strong> in the root folder of your website (<em>you will need to login to Cpanel >> File Manager tool, or login to file server with FTP client software<\/em>), then replace this line:<\/p>\n<pre style=\"font-size:13px\">\ndefine( 'WP_DEBUG', false );\n<\/pre>\n<p>with<\/p>\n<pre style=\"font-size:13px\">\ndefine('WP_DEBUG', true);\ndefine('WP_DEBUG_DISPLAY', true);\ndefine('WP_DEBUG_LOG', true);\n<\/pre>\n<p>Then save the file.<\/p>\n<p>2. Reuse the feature which causes problem (to catch the error).<\/p>\n<p>3. The detail error message will appear.<\/p>\n<p>After finishing, please undo step 1.<\/p>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, Sometimes you will encounter the 500 error when use a feature of theme or a plugin. To identify which causes the error, please follow 3 steps below: 1. Open file wp-config.php in the root folder of your website (you will need to login to Cpanel >> File Manager tool, or login to file server &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/get-real-error-message-500-error-debugging\/\"> <span class=\"screen-reader-text\">Debug: get details message of error 500<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[23],"doc_tag":[],"class_list":["post-1477","docs","type-docs","status-publish","hentry","doc_category-common-bugs"],"year_month":"2026-09","word_count":106,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"Troubleshooting","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/common-bugs\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=1477"}],"version-history":[{"count":2,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1477\/revisions"}],"predecessor-version":[{"id":5470,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/1477\/revisions\/5470"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=1477"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=1477"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=1477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}