Skip Navigation

[Resolved] White screen where content templates should be seen after update

This support ticket is created 4 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 2 replies, has 2 voices.

Last updated by tracyN 4 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1600627

Following move of the site to a new server the content templates that should be showing on a few pages are not showing and all you see is a totally white screen.

Link to a page where the issue can be seen:

Example Event:
hidden link

Example Blog post:
hidden link

Example 'Our Groups':
hidden link

Running on WP 4.9.13

I've updated to the latest version of Views.

There was no entry in the 'Theme support for Content Templates' setting and debug to show the content template in use by the theme doesn't seem to work but I've entered 'PageLinesPosts::post_content' as that is in use on another website with the same theme in use so thought I'd try it - Doesn't work though.

Can you please help - very much appreciated!

Thank you,
Tracy.

#1601515

Hi, I'll be glad to help figure this out. It appears that the HTML content for each of these pages is incomplete. Can you try the following troubleshooting steps and let me know the results?
- Temporarily activate the default Twenty Twenty theme. Are these blank posts displayed at all, or still completely blank screen?
- Clear any information from the Theme Support for Content Templates configurations for now.
- Are any posts with Content Templates displayed, or are you saying all posts with CTs assigned are now showing blank?
- Temporarily deactivate Views. Are the blank pages now rendered at all, or is there still just a white screen?
- Reactivate Views. Using the classic editor, create a new, unassigned Content Template that contains only the post title shortcode. Edit one of the blank posts and assign to it this new Content Template. Test the post on the front-end of the site. Does the post title appear? After the test, you can reassign the original Content Template and delete the test CT.
- Check to see if any server-side errors are logged that would indicate the source of the problem. If you're not familiar with server logs, I can show you how to activate them 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);

Reload one of the blank pages in your browser. If any server-side errors are triggered during this process, it will create an error_log.txt file in your site's root directory. Use FTP to look for this file in the same directory as wp-config.php. You may need to click "Refresh" in your FTP browser to see a new file appear. Please download this file to your computer, open it in any text editing software, and send me its contents. Once that is done, you can revert the changes you made to wp-config.php and delete the log file using FTP.

#1602753

Thank you for the steps you outlined, while going through them realised a plugin that should have been updated by the hosting provider during the move to a new server was causing the problem and on checking with them it appears it hadn't been updated. Updating it resolved the problem.

My issue is resolved now. Thank you for your response and help.