Posts are not displaying content (only white space)

As of last week, when the X-Child is active our posts display only white space…no content. This happens using Chrome but not Edge. If I deactivate X-Child (X is still active) the posts do display the content. There is no problem with pages just with posts. Deactivating all plug-ins does not fix the problem. All plug-ins and themes are up-to-date. Our hosting service is Blue Host. Your support to resolve this issue is much appreciated. Thank you.

Hello Comal,

Thanks for writing in! Based on the information above, it seems that you have added a modifications to the single post templates which is added in your Child Theme. You may be using a legacy child theme. Please check your template modifications and make sure that you have place it in the correct folders.

We would love to check your child theme. Please provide us your WP credentials. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

Hello Comal,

It is best that you create a WP user for us with an Administrative role so that we can check and investigate this issue. Yes, please do create a user and password using a dummy email address. You can send the WP details in a secure note so that only you and our staff can see it. Once we have it, we can log in and check your site settings and your child theme to figure out why the post are not displaying it’s contents.

By the way, have you done troubleshooting with the most common issues? A 3rd party plugin or a custom PHP code could be causing the issue too.

Best Regards.

Thanks for your reply. We have not knowingly modified our templates nor do we believe we are using a legacy child theme. Therefore we would appreciate further support in understanding your reply (above) and in fixing the problem. We also don’t understand what credentials you are requesting. Do you want me to create a (new) user ID and PW with an Administrator role for your use?

Please note that the described problem exists only if X-Child is active. Deactivating all plug-ins does NOT solve the problem. The following is the contents of out Blue Host error log:

[Sat Mar 12 11:00:19.633708 2022] [autoindex:error] [pid 625310:tid 23100204365568] [client 185.93.229.17:39722] AH01276: Cannot serve directory /home1/comalmgo/public_html/wp-admin/css/: No matching DirectoryIndex (index.html.var,index.htm,index.html,index.shtml,index.xhtml,index.wml,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.js,index.jp,index.php4,index.php3,index.php,index.phtml,default.htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html) found, and server-generated directory index forbidden by Options directive, referer: binance.com
[Sat Mar 12 10:16:50.060257 2022] [access_compat:error] [pid 495495:tid 23100208568064] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/sito
[Sat Mar 12 10:16:49.844436 2022] [access_compat:error] [pid 495495:tid 23100265301760] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/cms
[Sat Mar 12 10:16:49.625733 2022] [access_compat:error] [pid 495495:tid 23100298921728] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/site
[Sat Mar 12 10:16:49.404126 2022] [access_compat:error] [pid 495495:tid 23100204365568] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/wp2
[Sat Mar 12 10:16:49.180842 2022] [access_compat:error] [pid 495495:tid 23100322035456] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/media
[Sat Mar 12 10:16:48.958565 2022] [access_compat:error] [pid 495495:tid 23100250593024] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/test
[Sat Mar 12 10:16:48.744427 2022] [access_compat:error] [pid 495495:tid 23100313630464] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/wp1
[Sat Mar 12 10:16:48.529636 2022] [access_compat:error] [pid 495495:tid 23100200163072] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/shop
[Sat Mar 12 10:16:48.314889 2022] [access_compat:error] [pid 495495:tid 23100231681792] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/2018
[Sat Mar 12 10:16:48.099444 2022] [access_compat:error] [pid 495495:tid 23100237985536] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/2017
[Sat Mar 12 10:16:47.884942 2022] [access_compat:error] [pid 495495:tid 23100294719232] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/2016
[Sat Mar 12 10:16:47.670952 2022] [access_compat:error] [pid 495495:tid 23100254795520] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/2015
[Sat Mar 12 10:16:47.456432 2022] [access_compat:error] [pid 495495:tid 23100284212992] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/news
[Sat Mar 12 10:16:47.234081 2022] [access_compat:error] [pid 495495:tid 23100315731712] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/wp
[Sat Mar 12 10:16:47.019152 2022] [access_compat:error] [pid 495495:tid 23100326237952] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/website
[Sat Mar 12 10:16:46.800099 2022] [access_compat:error] [pid 495495:tid 23100242188032] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/wordpress
[Sat Mar 12 10:16:46.584390 2022] [access_compat:error] [pid 495495:tid 23100265301760] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/web
[Sat Mar 12 10:16:46.360961 2022] [access_compat:error] [pid 495495:tid 23100301022976] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/blog
[Sat Mar 12 10:16:46.145762 2022] [access_compat:error] [pid 495495:tid 23100225378048] [client 128.199.92.15:58653] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/
[Sat Mar 12 10:16:45.507037 2022] [access_compat:error] [pid 495495:tid 23100250593024] [client 128.199.92.15:53516] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/wp-includes
[Sat Mar 12 10:16:45.287039 2022] [access_compat:error] [pid 495495:tid 23100200163072] [client 128.199.92.15:53516] AH01797: client denied by server configuration: /home1/comalmgo/public_html/test/
[Sat Mar 12 10:09:57.810214 2022] [autoindex:error] [pid 495495:tid 23100296820480] [client 192.88.134.17:0] AH01276: Cannot serve directory /home1/comalmgo/public_html/wordpress/: No matching DirectoryIndex (index.html.var,index.htm,index.html,index.shtml,index.xhtml,index.wml,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.js,index.jp,index.php4,index.php3,index.php,index.phtml,default.htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html) found, and server-generated directory index forbidden by Options directive

Hello Comal,

Please note that the described problem exists only if X-Child is active.
The X Child inherits all the features and functionalities of the parent theme. You usually use a child theme when you want to modify some of the functionalities or add more to it by adding some codes in the child theme’s functions.php file or even include template overrides. The default X child theme only consists of 3 files, that is the screenshot.png, style.css and the functions.php file.

This is the contents of the style.css:

/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

This is the contents of the functions.php file:

<?php

// =============================================================================
// FUNCTIONS.PHP
// -----------------------------------------------------------------------------
// Overwrite or add your own custom functions to X in this file.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Enqueue Parent Stylesheet
//   02. Additional Functions
// =============================================================================

// Enqueue Parent Stylesheet
// =============================================================================

add_filter( 'x_enqueue_parent_stylesheet', '__return_true' );



// Additional Functions
// =============================================================================

If you have more contents or other files than what I have presented above, then those additional codes or files are causing the issue.

Hope this makes sense.

We do have additional code in functions and styles. I will check that out. Meanwhile can you tell me if the following versions are compatible with each other and the correct versions to use:

X-Theme 9.1.4
X-Theme Child 1.0.0
WP 5.9.2
PHP 8.0.16

Thank you.

Hello Comal,

Yes, those are the latest supported versions except the PHP 8.0. Could you please downgrade your PHP version to 7.4 and test your site again.

Kindly let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.