Cornerstone not working and won't allow me to edit pages

Hi,

I went to edit a page yesterday and was greeted with the message:

The preview was unresponsive after loading. This is most often related to a plugin conflict or aggressive page cacheing.

Origin URL: https://www.my-url.net

Preview URL: https://www.my-url.net/my-page/

I’m not sure how long I’ve had the issue for as I haven’t attempted to edit any pages in several weeks and due to a busy schedule I haven’t been testing updates on my dev site first.

So far I have:

re saved permalinks, changed saved and reset permalinks, deleted and reinstalled cornerstone, cleared cornerstone cache, confirmed php ini settings for time limit 300 memory limit and max at 512 and deactivated all other plugins.

So far nothing has worked.

I was reading another support post where the staff member was trying to explain cornerstone > custom path. Is this a potential fix and if so, what needs to be added there?

I would love to be able to provide you login credentials but unfortunately HIPAA does not allow me to do so.

Any suggestions would be great!

I’m running the latest versions of both X and cornerstone and haven’t had any issues previously.

Thanks

Brad

Hi @bradclarke10,

Thanks for writing in.

Maybe it’s not due to permalinks, it could be caused by contents too or even widgets, and similar. Would you mind providing your site’s URL and admin login credentials so we could check?

Thanks!

Hey @Rad,

Sorry for the slow reply, I wasn’t notified by email of your response.

Unfortunately as I said in my post I’m restricted by HIPAA so I cannot provide access. I’m in health care.

If you could let me know what to try first that would be great.

Thanks

Brad

Hi Brad,

We can certainly understand your situation. I will try to provide some information which should help you to resolve your issue.

First install this plugin (https://wordpress.org/plugins/wp-serverinfo/), head over to Dashboard -> WP-Serverinfo section and make sure that your changes such as increasing memory limit and script execution time increase are affected (you should see the new values).

Then also check your PHP version and make sure to use PHP v5.6.x or above to avoid incompatibility issues.

If the above requirements are met, then you can try testing for a plugin conflict by disabling your 3rd party plugins. You can use health check plugin developed by WordPress team (https://wordpress.org/plugins/health-check/) to test for a plugin conflict. It has a special feature so that your visitors will not be affected when you’re disabling plugins and testing your site. You can follow this video guide for more information (https://www.youtube.com/watch?v=nO1nP1gBstM).

Let us know what your findings are, so that we can assist you further if needed.

Thanks!

Hi @mldarshana,

Thanks for the reply.

I can confirm the memory limit etc settings are correct. Wordfence recognizes the changes as well.

I set my site to maintenance, disabled user log in and deactivated all plugins one by one overnight prior to creating my post/ticket.

I’m running PHP 7.0.30

I also made a duplicate of my site, launched it on my dev server, deleted every page, deactivated every plugin and the problem still remains.

I don’t have any MU plugins either.

Next step?

Thanks

Brad

Hi @mldarshana, @Rad,

New finding… I can create a new page, and cornerstone works on it…

What does that tell us?

Thanks

Brad

Hi Brad,

Can you open developer tools, switch to console log and then try to edit a page in Cornerstone and let us know what errors you can see on the console log.

If you’re using Firefox, you can right click on the page and go to inspect elements and then switch to console tab. If you’re using Chrome, you can right click on the page and go to inspect and switch to console tab.

Let us know with details.
Thanks!

Hey @mldarshana,

Lots of errors. I masked my URL with “my-website”.

JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js:2:542
Unhandled rejection: OpenFailedError: InvalidStateError A mutation operation was attempted on a database that did not allow mutations.
create@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4309:15
e@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4249:5
e/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4250:52
at/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4127:12
Be@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4083:12
Ie@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4088:1
Ve/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4093:82
cs-vendor.js:4130:301
uncaught exception: OpenFailedError: InvalidStateError A mutation operation was attempted on a database that did not allow mutations.
JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js:2:542
Unhandled rejection: OpenFailedError: InvalidStateError A mutation operation was attempted on a database that did not allow mutations.
create@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4309:15
e@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4249:5
e/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4250:52
at/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4127:12
Be@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4083:12
Ie@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4088:1
Ve/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4093:82
cs-vendor.js:4130:301
Unhandled rejection: OpenFailedError: InvalidStateError A mutation operation was attempted on a database that did not allow mutations.
create@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4309:15
e@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4249:5
_trans@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4248:138
_idbstore@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4251:8
get@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:4254:8
getRenderCache/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs.js?ver=3.1.5:1625:43
e/<@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:2937:5
e@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:2936:321
getRenderCache@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs.js?ver=3.1.5:1625:8
updateMarkup@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs.js?ver=3.1.5:1550:1
compute@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs.js?ver=3.1.5:1285:892
e.ClassBasedHelperReference</r.prototype.compute@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1509:8
e.CachedReference</n.prototype.value@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1491:45
M</e.prototype.valueOf@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:182:106
M</e.prototype.value@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:181:151
e.ClassBasedHelperReference</r.prototype.compute@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1508:130
e.CachedReference</n.prototype.value@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1491:45
i</e.prototype.value@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1399:146
x</e.prototype.initialize@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:94:110
x</e.prototype.peek@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:89:247
@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:220:277
s</e.prototype.evaluate@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:138:194
gr</e.prototype.next@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:724:18
gr</e.prototype.execute@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:723:22
ur</r.prototype.handleException@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:689:1
dr</e.prototype.handleException@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:704:105
sr</e.prototype.throw@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:679:259
L</t.prototype.evaluate@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:227:146
sr</e.prototype.execute@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:679:71
hr</e.prototype.rerender@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:706:1
e/this.render/s.render@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1354:28
e.runInTransaction@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1579:67
e.Renderer</e.prototype._renderRoots@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1371:160
e.Renderer</e.prototype._renderRootsTransaction@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1376:5
e.Renderer</e.prototype._revalidate@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1378:330
l</e.prototype.invoke@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:800:153
l</e.prototype.flush@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:789:147
u</e.prototype.flush@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:803:13
f</e.prototype.end@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:815:7
f</e.prototype._run@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:854:113
f</e.prototype._join@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:853:338
f</e.prototype.join@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:824:8
@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1362:12
f</e.prototype._trigger@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:861:38
f</e.prototype.end@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:815:211
f</e.prototype._run@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:854:113
f</e.prototype.run@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:823:8
st@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=3.1.5:1749:22
_xfrOnMessage@https://www.dev.my-website.net/wp-content/plugins/cornerstone/assets/dist-app/js/cs.js?ver=3.1.5:2162:1
cs-vendor.js:4130:301
The preview booted, but never requested the loader be removed. 0
cs.js:122:172

Thanks

Brad

Hi Brad,

Can you reproduce this issue on both browsers (Firefox and Chrome)? as it could be related to this issue on Firefox.

Also, if this issue occurs only on certain page, then I would check if there is any custom JS libraries/codes loaded on that specific page or not, this can be in the page content or in the custom JS content in Cornerstone.

I would try to disable any plugin I have that has “minify JS” option and clear cache as well.

Let me know how it goes,
Thanks.

Hi @Alaa,

I only use firefox but I’ll test another browser tomorrow.

It occurs on every page of my production site and dev site. If I create a new page than cornerstone works.

To my knowledge I have never used any custom JS, but I’ll confirm that as well.

I have already disabled every plugin. That did not change anything.

I’ll be back tomorrow

Thanks

Brad

Hi Brad,

Please let us know how it goes.

This issue is also most likely due to change in site url like migrating from an old url to new one.
If it is not done correctly cornerstone data gets corrupted and all your old pages that were built using Cornerstone
will no longer work.

For your guide on migration kindly review the link below.

Thanks

Hi @paul.r,

I haven’t migrated anything in quite some time, 8 months, and use the dev site just to test, then I just make the changes directly to the production site.

I tired the different browser, no change.

No pages have JS.

I tired something else on a dev page in cornerstone which is I deleted the sections, once the last section on a page was deleted than cornerstone loads. What does that mean? Especially when combined with the fact it works on a new page?

Thanks

Brad

Hi Brad,

Can you try deleting that last section only, it could be a content of that last section or the section itself is causing the issue.

Also, If you’re using a child theme, try switching to the parent theme to see if that makes a difference. The conflict could be in your customizations (do this on dev site).

Also, try running this plugin (Transient Cleaner), remove all expired transients and remove all transients.

Let us know how it goes,
Cheers!

Hi @friech,

Tried deleting the last section only. Didn’t work.

Changing from the child theme doesn’t work either.

I didn’t use transient cleaner but I use Advanced Database Cleaner By Younes JFR every time I log in. It cleans the transients etc as well.

I grabbed my other laptop, MacPro, and Firefox still doesn’t work, but chrome on the mac did!!!

So, what stops editing of old pages on Firefox but allows new pages to be edited on Firefox, but allows all pages to be edited on the Mac with chrome???

I really do not want to use chrome.

Thanks

Brad

Hi Brad,

In that case, would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

Thanks

Hey @paul.r,

Thanks for the reply. Unfortunately as I said above I cannot provide login credentials as HIPAA does not allow it. I’m in health care.

Alternative? Suggestions to try?

Thanks

Brad

Hi Brad,

Two thoughts I have now in my head:

  1. Double check that when you hit about:config in Firefox, then search for dom.indexedDB.enabled it’s set to the default value which is “True”.

  2. You mentioned that you have tried to delete sections one by one and when you reached one specific section, the builder worked fine, can you retry this again, perhaps you missed the culprit section? also, do you recognize any of these sections that might have a call to external JS library? like you have a form subscription button there or something?

Finally, can we have a look at this page? you can share its URL in a Secure Note reply if you want.

Thanks.

Hey @Alaa,

Sorry for the Slow reply.

  1. I don’t understand how to do this test. Can you elaborate?

  2. I tried deleting the sections in multiple orders. It doesn’t work until every section is deleted on any page I try. There is nothing but plain text on privacy policy page and it doesn’t work either. I don’t think it’s a JS issue.

I don’t understand why it works in chrome and not firefox. If you can elaborate on 1 I’ll give it a test.

Thanks

Brad

Hi Brad,

If we put it that way, that means the issue is specific to Firefox, right? But Firefox and Cornerstone works on our end. So the question now is what is on your Firefox, do you have add-ons on it? If so, try uninstalling it. Or use the private mode where there is no add-ons and cache involves.

Then you said above that you can edit new pages in Firefox, but not the old ones. That means the Firefox holding something on those old pages, logical thing to that is a cache.

I would not also reject the possibility, that the issue is coming from a third party plugin or script and that Cornerstone is just a casualty of it. If you could, please do a plugin test.

Thanks,

Hi @friech,

I’m not convinced it’s just Firefox, but I don’t know.

Firefox works on new pages, just not old. Chrome works on both. I’ve been using Firefox since before X and haven’t had any issues. It’s really weird.

I backed up my bookmarks, downloaded a new firefox setup file, deleted firefox, then did a fresh install with no prior settings or extensions. No change.

I’ll try private mode etc again shortly.

On my dev site I have deleted every page but one and deleted every plugin but cornerstone. No change.

Can someone explain what @Alaa was asking me to try in relation to dom.indexdb.enabled ??? I don’t know how / where to check this.

Thanks

Brad