Cornerstone Editing Mode has been broken

I upgraded the plugins and caused our website to be broken. Our server restored from backup but we still have problem with cornerstone. When opening the editing mode on the cornerstone we these error. And those are.

Uncaught TypeError: Cannot read property ‘getSelected’ of undefined
at popup.js:7
/cornerstone-endpoint:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
cs.js?ver=3.0.4:67865 Failed AJAX request. Switching to fallback.
Object
/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
cs.js?ver=3.0.4:67860 Unhandled AJAX error. Expecting valid JSON from response.
Object
cs.js?ver=3.0.4:49172
Object
cs-vendor.js?ver=3.0.4:19500 TypeError: Cannot read property ‘indexOf’ of undefined
at getStack (cs-vendor.js?ver=3.0.4:19456)
at defaultDispatch (cs-vendor.js?ver=3.0.4:19500)
at Object.dispatchError (cs-vendor.js?ver=3.0.4:19483)
at onerrorDefault (cs-vendor.js?ver=3.0.4:33226)
at Object.trigger (cs-vendor.js?ver=3.0.4:51931)
at cs-vendor.js?ver=3.0.4:52925
at invoke (cs-vendor.js?ver=3.0.4:1335)
at Queue.flush (cs-vendor.js?ver=3.0.4:1399)
at DeferredActionQueues.flush (cs-vendor.js?ver=3.0.4:1207)
at Backburner.end (cs-vendor.js?ver=3.0.4:521)
/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
cs.js?ver=3.0.4:67860 Unhandled AJAX error. Expecting valid JSON from response.
Object
cs.js?ver=3.0.4:49172
Object
cs-vendor.js?ver=3.0.4:19500 TypeError: Cannot read property ‘indexOf’ of undefined
at getStack (cs-vendor.js?ver=3.0.4:19456)
at defaultDispatch (cs-vendor.js?ver=3.0.4:19500)
at Object.dispatchError (cs-vendor.js?ver=3.0.4:19483)
at onerrorDefault (cs-vendor.js?ver=3.0.4:33226)
at Object.trigger (cs-vendor.js?ver=3.0.4:51931)
at cs-vendor.js?ver=3.0.4:52925
at invoke (cs-vendor.js?ver=3.0.4:1335)
at Queue.flush (cs-vendor.js?ver=3.0.4:1399)
at DeferredActionQueues.flush (cs-vendor.js?ver=3.0.4:1207)
at Backburner.end (cs-vendor.js?ver=3.0.4:521)
/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
cs.js?ver=3.0.4:67860 Unhandled AJAX error. Expecting valid JSON from response.
Object
cs.js?ver=3.0.4:49172
Object
cs-vendor.js?ver=3.0.4:19500 TypeError: Cannot read property ‘indexOf’ of undefined
at getStack (cs-vendor.js?ver=3.0.4:19456)
at defaultDispatch (cs-vendor.js?ver=3.0.4:19500)
at Object.dispatchError (cs-vendor.js?ver=3.0.4:19483)
at onerrorDefault (cs-vendor.js?ver=3.0.4:33226)
at Object.trigger (cs-vendor.js?ver=3.0.4:51931)
at cs-vendor.js?ver=3.0.4:52925
at invoke (cs-vendor.js?ver=3.0.4:1335)
at Queue.flush (cs-vendor.js?ver=3.0.4:1399)
at DeferredActionQueues.flush (cs-vendor.js?ver=3.0.4:1207)
at Backburner.end (cs-vendor.js?ver=3.0.4:521)


Hi Jamie,

Can you try increasing your memory limit to 512M

If that doesn’t help, please provide us your wordpress admin login in Secure Note

Thanks

Hey Paul,

I have tried to increase memory limit to 512M but it didnt work. Ill provide you the access

Hi Jamie,

Please set wp_debug to true in your wp-config.php file located at the root directory of your site.

By setting it to true, wordpress will show the error instead of the Error 500 which is a very general HTTP status code that means something has gone wrong on the website’s server.

Thanks

It has been set.

Hey There,

Your Cornerstone plugin had several corrupted files. I’ve reinstalled Cornerstone and now everything loads properly.

All the best!

Hello,

Thank you so much. Have a nice day.

You’re most welcome Jamie! :slight_smile:

Hey Paul,
There is one more problem. Another problem is regarding to main menu drop-down - any selection within it stays active despite going for another selection in the menu. Should be active only one drop-down menu option.
How can we solve this issue?

Hi Jamie,

Did I missed something here? I can’t duplicate the issue you were having. To help you more, can you give us an example page, and then tell us what you are seeing on the menu versus what you expected to happen? Screenshot might help.

What I am seeing right now, when hovering on submenu, parent menu shows active which means font color is white. Only active page shows white menu link. Cna you explain your expectation please?

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