Wordpress version 4.9.7
X version 6.1.6
Cornerstone version 3.1.6
Editing any page with cornerstone fails to load. The console has this error twice:
cs-body.js?ver=3.1.6:1 Uncaught TypeError: Cannot read property 'substr' of undefined at cs-body.js?ver=3.1.6:1
That error is coming from a cornerstone file. I don’t believe this is the result of a plugin conflict, but I’m testing that now just to be sure.
Update: It’s not a plugin conflict. I disabled all plugins except cornerstone and the same error is coming up. Here is a screenshot of the console.
It looks as if the content of the page might be screwing up loading the editor, which shouldn’t be possible of course.
Another update: Another page which has no content tag warnings is also getting the cannot read property ‘substr’ of undefined error, so it’s not that. It also loads the editor after getting that error, so I’m thinking the reason I can’t edit the problematic page has nothing to do with this substr error.