We are having an issue with one of our client sites, where Cornerstone will not load the visual mode. Instead, it will get to the point where the Cornerstone logo shows up and…pulsates, for lack of a better term…but will not bring the view up. Dev Tools shows an “Uncaught TypeError: Cannot redefine property: Inflector” error, stemming from the cs-vendor.js file. I have attempted to deactivate the plugins most likely responsible for some sort of conflict, to no avail. What do you think would cause this?
Thanks for writing in! I have logged in and tested editing some of your pages. I could not replicate any issues at all.
I can edit the page as expected and this is how I see it: http://prntscr.com/k32w9e
Does the issue occur in all pages or in just one particular page? Could you please tell us which page is that?
Meanwhile, please clear your browser cache or use private browsing mode and edit your site again.
Oh, my apologies! We’re running into the issue when attempting to edit any of the BOK custom post type entries in Cornerstone. We have not run into the issue on any of the main pages.
I just attempted to edit a BOK page in incognito mode, and ran into the same issue.
Please do a test for a plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
If the issue persists, try switching to the parent X theme, the culprit might be a customization you have on the child theme.
When I disable all other plugins (except Cornerstone, of course), I get a message saying that the preview does not include a </html> tag. Perhaps this is happening all the time and I just wasn’t getting that message before?
That said, I am no longer getting the Inflector error, so it appears that there is a gremlin in one of the plugins.
Also, when reactivating plugins, I discovered that the Restrict Content Pro plugin is what is triggering the error. I have a support ticket in with them at this point. But I’m still curious about the warning message that I’m getting.
It seems that you’re experiencing a conflict with Restrict Content Pro plugin. As we do not provide support for third party plugins, the best way is to escalate your issue through your plugin developer.
In regards to the lack of closing html, usually, the problem shows if there is a caching plugin in your site or in your hosting and if you have added codes in your child theme or parent theme
You could contact your hosting if they have caching system installed for your setup even though you don’t have caching in your site installed.
Added code in your parent or child theme also causes this issue. Please test or removing it temporarily so you could know if there is a problem.
And if still not helping, please share us your FTP so we could check closer to your setup.