Skip Navigation

[Closed] Custom post type page white screen

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 8 replies, has 3 voices.

Last updated by Christian Cox 3 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#2078341

Hello,

When I try to see some page which has custom post type created by toolset, I see white screen. Please help.

#2078357

It happens on all pages of that content type.

#2078597

Hello, if the screen is completely blank, that usually indicates a server-side error. If the page shows the main site header and footer, but the main content area is empty, that usually indicates a blank Content Template. If you edit one of the custom posts in the admin editor, is there a Content Template assigned to this post? If so, edit the content template and check to be sure you have added some content in the Content Template. Or choose "No template" in the Content Template setting for this post, and test again.

If the page is completely blank, we can try some troubleshooting steps.
- Temporarily switch to a default theme like Twenty Twenty One
- Temporarily deactivate any custom code snippets in Toolset > Settings > Custom Code
- Temporarily deactivate any plugins except Types and Blocks (or Views if you use the legacy Views plugin)
- Test the post again.
- If the problem is resolved, reactivate your theme, snippets, and other plugins one by one until the problem returns
- If the problem is not resolved, please provide your debug information in the debug fields provided for your next reply, as explained here: https://toolset.com/faq/provide-debug-information-faster-support/

#2080237

Hello again. I get white screen if post has "go/" in the permalink. If I change the "go/" string in URL to something different, it's working. I don't have any idea why it may happen. Please help.
Thanks in advance.

#2080491

Did you try the troubleshooting steps I suggested? What was the result of those tests, is the problem occurring with only Toolset plugins active?

#2081127

Yes, I tried deactivating plugins, but as I said if the post permalink contains the string "go/" then the screen is blank, if I change "go/" string to something different then everything is working fine. Do you have any ideas why it might happen? Thank you.

#2082035

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Oleg,

Christian is currently out sick today but should be back tomorrow to continue assisting.

You should get a response from him or another supporter tomorrow should he be out again tomorrow sick.

Thank you for your continued patience on this one.

Thanks,
Shane

#2082531

I wish Christian a good health. Refua shlema (hebrew)!

#2083319

Thank you! I'm feeling much better today, but I'm not sure why the /go in the URL would cause a problem. I see you are developing locally on a .local domain, is the problem happening on a live server as well, or only in a local development test? We should check the server logs for more information about the whitescreen error. If you are not familiar with WP / PHP server logs, I can show you how to activate one temporarily. Go in your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);

Then add these lines, just after the WP_DEBUG line:

define('WP_DEBUG_LOG', dirname(__FILE__) . '/error_log.txt');
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

Save the wp-config.php file updates to the server. Then try to visit one of the pages with /go in the URL. You should see a white screen again. If any server-side errors were triggered, it will create an error_log.txt file in your site's root directory. Please download this error_log.txt file to your computer, open it in any text editing software, and copy its contents. Paste those contents in your next reply. Once that is done, you can revert the changes you made to wp-config.php and delete the log file.

If no error_log.txt file is generated by loading one of the /go pages, I will need to log in and take a closer look on a live server environment. If that is okay, please provide login credentials in the private reply fields here.

The topic ‘[Closed] Custom post type page white screen’ is closed to new replies.