Update X from 4.6.4. to 7.2.3

Hello!

I am trying to update site with your X theme currently running on WP 5.4.1 and PHP 7.0.3 to the latest WP, PHP, theme + plugins.

Are there any specific nuances that I should be aware of before I undertake this?
I see some users deleting Cornerstone plugin first, revoking licenses, or uploading latest theme to new folder instead of just updating current parent theme.

There is currently old version of Cornerstone 1.3.3 and VC 5.0.1 installed on the site. Theme is 4.6.4.

I am not particularly bothered about fixing errors on live site. However, want to minimise disruption by following correct procedure (WP environment first, plugins second, theme third, or whatever the correct way)

Please advise. Many thanks for your time and consideration.

V

Hello MaSha,

Thanks for writing in! You have already updated WordPress to 5.4.1. The recommended is 5.3.2 version. You can check the rest of the compatible version here: https://theme.co/docs/version-compatibility

And then you can update the theme first, then the Cornerstone and VC plugin. Please review how to update guide first to make sure that you are doing the correct way. Please check out this documentation:

Kindly let us know how it goes.

Thanks Ruenel

I have updated the WP, Theme, Cornerstone and VC as suggested.
Some elements of the site are broken. However, the main issue is that I can not access cornerstone or Theme options, just have icon rolling forever.

I have disabled and removed Conerstone. then installed new version via theme. However, it did not help either. Not sure what to do next. Could you please take a look at what might be the problem.

I have enabled debug mode for your info.

Many thanks in adance

Hi Masha,

It is not loading because there are multiple Jquery errorrs:

Uncaught SyntaxError: missing ) after argument list
(index):38 Uncaught ReferenceError: _ is not defined
    at (index):38
(index):42 Uncaught ReferenceError: moment is not defined
    at (index):42
(index):119 Uncaught ReferenceError: wp is not defined
    at (index):119
    at (index):120
(index):140 Uncaught TypeError: Cannot read property 'editor' of undefined
    at (index):140
(index):178 Uncaught ReferenceError: tinymce is not defined
    at (index):178
cs-vendor.0ce70e6.js:3809 Uncaught TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at a.callback (cs-vendor.0ce70e6.js:3809)
    at a.exports (cs-vendor.0ce70e6.js:18)
    at a._reify (cs-vendor.0ce70e6.js:21)
    at a.reify (cs-vendor.0ce70e6.js:20)
    at a.exports (cs-vendor.0ce70e6.js:17)
    at a._reify (cs-vendor.0ce70e6.js:21)
    at a.reify (cs-vendor.0ce70e6.js:20)
    at a.exports (cs-vendor.0ce70e6.js:17)
    at a._reify (cs-vendor.0ce70e6.js:21)
wp-backbone.min.js:2 Uncaught TypeError: _.pluck is not a function
    at wp.Backbone.Subviews.detach (wp-backbone.min.js:2)
    at i.render (wp-backbone.min.js:2)
    at i.render (media-views.min.js:2)
    at HTMLDocument.init (media-editor.min.js:2)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.J (jquery.js:2)

Let’s try basic troubleshooting first. Please check this guide and do the PLUGIN CONFLICT TEST. It the issues persists after that, please try to reinstall wordpress core.

Do let us know how this goes. Thank you.

Thanks Lely

I have done the plugin test and reinstalled WP core. Nothing changed.
I have updated theme and figured out that problem is coming from child theme.

there are some custom lines in there, which probably conflict, because if i disable child, cornerstone is accessible via parent.

I have looked at all customisation within the child theme and found a few which might cause this issue. Could you please give your opinion on what might be causing jquery errors inside functions and footer files

Hi @MaSha,

The best way to know which customization is causing the issue is to do an elimination, remove (or comment out) the customizations one-by-one, and see when the builder starts working.

Another thing, I saw you have an Autoptimize plugin, please turn off this option as this is a known option to cause an issue with the builders.



Let us know how it goes,
Cheers!

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