Blog post data replaced with {{yield}}

I very much appreciate the help the support staff is providing. I am cautiously concerned about changing my DNS servers because when I set up the website’s SSL certificate a year or more go, there were some serious problems with my email accounts and the website being offline for almost a week. I have some knowledge about DNS servers, records etc but I am by no means an expert and I’m very concerned at this time about changing the DNS servers. Because of that, I would rather not do that. I realize that may mean you can no longer help with this issue. But the issue has been limited to 2 posts and no others. Which makes me suspect there is something wrong within those posts which I will continue to try to figure out. Should this become a more widespread problem, I will take the risks necessary to change the DNS servers.

Below is a screen grab of my Cloudflare page rules to show that it is formatted correctly. How do I sync the cache and are there other settings I can look at that you think might be contributing to the problem? Thanks very much. …Marty

Hi there,

First of all, I want to mention that we understand that this is getting long and no result for the case is frustrating. I want to inform on behalf of me and my colleagues that we are doing our best to be able as helpful as possible.

The CloudFlare does have a big part on this as it seems to force minification of the Cornerstone plugin. You will need to turn off the minification:

https://xthemetips.com/using-cloudflare-rocket-loader-with-x-pro-and-x5/928/

The other point is the usage of the Autoptimize, WPFC and CloudFlare plugins altogether. That for sure makes problems as they try to minify Cornerstone assets (CSS and JS files). The Cornerstone assets are already minified and the double minification will ruin stuff.

I did a simple test, I purged caches and deactivated those plugins temporarily, then the whole website layout messed up.

You need to find a way to have the website work correctly without the plugins mentioned activated. That will ensure there is no minification problem.

The point you have mentioned about that only 2 posts have the rendering problem gave me an idea. I went to X > Launch > Options > Blog and turned off this option:

Then I went to the post in question and added test text to the excerpt box:

It caused the listing page show test instead of those {{yield}} problems and the single post page showed correctly. So one alternative way is that you set the options I mentioned above then go to each blog post and add the Excerpt you want to show as a text.

I reverted back the options to the original one and enabled the plugins so you have the clean slate to do the tests I mentioned.

Other than the points above we are out of option indeed for this matter.

Thank you for your understanding.

To be sure I understand correctly you are suggesting:
1.Turn off Cloudflare’s minification (the link you provided)
2. Deactivate Autooptimze plugin
3. Deactivate WPFC plug-in

Please acknowledge that I have the information above correct?

I will try all of those but I’m concerned about the speed of the website. Any thoughts on that?

Thanks for your testing and suggestions. I will work on this tomorrow…
Marty

Hey Marty,

Yes, those are correct. This is for troubleshooting only. We need to know what is causing the issue whether its third party factors or with X itself. Thanks.

Sorry but now @christian_y confused me. I thought that @christopher.amirian was recommending turning these plugins of permanently as well as turning off minification in Cloudflare and and that he had tested those steps already to come to this conclusion. Now you are saying it’s for testing only. So I’m not sure what to do. Can someone please clarify this for me?

Hi Marty,

Sorry for the confusion,

You only need to choose one, those three are basically doing the same thing. Doing the same thing three folds will surely cause a lot of problems.

I suggest using cloudflare over those two as it does a lot of thing to speed up your site.

However there is something wrong with your site set-up so my colleague suggested that you deactivate all three. The site needs to be fix to start with, fixing the site with any of those active will just make it more difficult.

Hope that makes sense.

Hi there,

I basically meant that the website is not working correctly with those plugins disabled. That is a warning sign that something is wrong with your installation. By the way, I already suggested an alternative way to fix the issue by using the excerpt. Have you tried that?

So even with this problematic situation you still can overcome the original problem by the method of the excerpt I mentioned.

Thank you.

Thanks @christopher.amirian for your clarification. Yes, I did try using the Excerpt as you described and that worked, as it did for you. However, for my site, seeing the images is important on the Blog Index page, so I turned Full Post Content back on (I’d rather have those 2 weird posts than have no images on all the posts on that page). I will do more testing in turning off the other plugins in staging. Also I’ll contact my ISP Bluehost about changing the DNS serve names and if I can do that without messing up my email, etc, I’ll do that and let you know.

Let us know how it goes.

Sorry for the delay, I was about to change Cloudflare DNS back to Bluehost (still concerned about resulting in email problems) when I noticed I had 2 other options that could be tried first. I summarized those options and my testing in the attached image. I hope this is helpful to you and might lead to a solution. Thanks again for your help with this.
Marty

Hi there,

Unfortunately, we can not do anything about this. You need to contact Autoptimze and WPFC plugin developers and ask them how to remove the minification of the files. You need to avoid minifying the CSS and Javascript files of the builder and the theme as they are already minified.

The only alternative is what I already informed regarding the excerpt. You have mentioned that you do not want that option as you want to have images, but our theme does show the images with that method I told. The problem is that you have a CSS code which hides that.

You need to remove the code below from X > Launch > Theme Options > CSS:

.blog .entry-featured {
    display: none;
}
.entry-featured .entry-thumb {
   display: none !important;
}

As soon as you remove the code above you will see the images in the listing and also will have the option to show the excerpt which you added to the excerpt box.

Thank you.

Thanks for your reply. I can’t seem to get support from the Autoptimize developer. I have a backup from 3 months ago that does not have this issue. It looks like I’ll restore from that backup and then rebuild the missing additions. I obviously had no idea that adding Autoptimize and WPFastCache that would do further minimizing was a bad idea.

Ok thank you.

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