Cornerstone not showing live preview of edits or Saving them

Hello,

We are experiencing some issues with the Customizer plugin and were hoping you could help.

What is happening is that I log into the site, make an edit, I get the “Uh-OH” error.

If I leave the browser open with no activity for ~1 minute… I get “Your session has expired. Please log in to continue where you left off.”

Sometimes if i re-login and refresh the page W/customizer open. it will allow me to make an edit and save. But other times it will still not allow the change when I re-login.

I also tried to use the Theme Options part of the customizer and am getting an error there as well.

I have added to the PHP limit on the server as well as I increased the php input vars to 5000 onto the .htaccess.

Here is a link to a video so you can see the issue at hand.

Any advice would be great.

VIDEO

VIDEO 2

Hi John,

Thanks for writing in! I have tried to login into your site, but it seems that your login information provided are incorrect.
ERROR: The password you entered for the email address is incorrect.

Then I have watched both of your videos. Session expire usually happens if you’re using an older version of WordPress core or if your WordPress is corrupted. Please check the current version of your WordPress running on your server and update if necessary (https://codex.wordpress.org/Upgrading_WordPress). If you’re already using the latest version of WordPress, try re-installing it again so that it will fix any corrupted or missing files.

1.Try disabling your 3rd party plugins (except Cornerstone plugin) and see if you’re encountering a plugin conflict. If the issue resolved, then you can activate your plugins one by one to see which plugin causing this issue.

2.Since you’re using a child theme, you need to disable your child theme temporarily and activate your parent X theme by head over to Appearance -> Themes section. If the problem resolved when testing, then you need to check your child theme customizations to isolate the issue.

3.You can also activate WP_DEBUG mode on WordPress to see if you’re getting any PHP errors. To do that, please follow this guide (https://codex.wordpress.org/WP_DEBUG) and enable WP_DEBUG mode first. Then when you re-visit your site, you should see any error messages that describes the issue.

Please make sure to clear all caches when testing your issue (https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/).

If you’re still having issues, please update your correct login information in the secure note to check your issue further.

Let us know how it goes.
Thanks!

I have updated the password.

Hi John,

I checked and I’m not getting any issue related to that error, and session expiration is normal on my end. It still expires but not within 1 minute, it expires when I became idle longer which is normal. Perhaps someone is working on your site while you’re logged in too? I’ll continue checking but still, couldn’t reproduce this.

I also recommend setting your WP_DEBUG to false within your site’s wp-config.php, it echos notices that may affect ajax request and responses. Or just set WP_DEBUG_DISPLAY to false in case it’s there.

Thanks!

What happens on your end if you attempt to use the customizer? You are able to safely make edits and save them?

Try to edit the footer.

Hello John,

I have logged in and edited your footer. I found out that you have inserted an incorrect code:

<img style="width:100px"src="wp-content/uploads/sites/2/2018/09/logo.png">

I have updated it and use this:

<div><img style="width:100px" src="wp-content/uploads/sites/2/2018/09/logo.png"><span style="display: none;">Added by X Staff</span></div>

I was able to save my changes and the changes was also reflected on the front end.

Please check your site again.

Wow that is so strange. Thank you for making that edit. When I attempt to do so… I immediately get this error.

The preview could not load due to the iframe response being incomplete. This is most often related to a plugin conflict, or customizations introducing a PHP error.

Origin URL: https://mbddev.wpengine.com

Preview URL: https://mbddev.wpengine.com/mealsbydeleo

Until I allow the site session to time out, re-log in and then it will allow a save.

Hello John,

Please make sure that the Site URL and WordPress Address URL in Settings > General is the same as your WP dashboard. Since you are using WPEngine, you maybe able to see this setting. You just need to edit and force the urls in the wp-config.php file. Login to your FTP and edit your wp-config.php file adding this following lines:

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

Off course, you must change example.com with our own URL which is the current site URL: https://mbddev.wpengine.com/mealsbydeleo

Please let us know how it goes.

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