Website displaying code instead of content

My website was working correctly, after making a few changes it is now displaying the code instead of the content. When I look at it in cornerstone it is displaying correctly. I’m not sure what has changed for this to happen. Any assistance appreciated! Thank you

Screen Shot 2021-02-27 at 4.47.16 pm

Hello @Tashible,

Thanks for reaching out. Can you please confirm that you have updated to the latest versions?
Our latest versions are:

  • Pro theme 4.1.5 or
  • X theme 8.1.5
  • Cornerstone 5.1.5
  • WordPress 5.6
  • PHP 7.4

This latest release contains fixes for several issues so be sure to check out the changelog:

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

It could also be caused by a plugin conflict, amongst other things. Please check out this troubleshooting article here and follow the instructions for the following sections (where appropriate):

Testing for Plugin Conflict
Theme Update
Child Theme
CSS/JS Customization
Increasing PHP Memory Limit
Disabling Cache
Disabling CDN

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note 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

Please let us know how it goes.

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