Site logo

Archived topic

Can no longer edit sections

7 replies · Started by David on April 22, 2022

Viewing posts 1–8 of 8

I have fully updated my site but now cannot edit sections or see any content within them. When I click to edit a section this comes up in the console:

"Uncaught ReferenceError: vm is not defined
at eval (eval at template (underscore.min.js?ver=1.13.1:2:15327), <anonymous>:9:9)
at n (underscore.min.js?ver=1.13.1:2:15407)
at wp-util.min.js?ver=5.9.3:2:323
at n.renderContent (generate-sections-metabox.js?ver=2.1.2:298:44)
at n.render (generate-sections-metabox.js?ver=2.1.2:180:18)
at Zn (underscore.min.js?ver=1.13.1:2:7534)
at n.<anonymous> (underscore.min.js?ver=1.13.1:2:7953)
at n.render (underscore.min.js?ver=1.13.1:2:1065)
at n.initialize (generate-sections-metabox.js?ver=2.1.2:139:18)
at n.h.View (backbone.min.js?ver=1.4.0:2:14139)"

I have the latest version of WordPress and of the Generate Press theme and GP Premium plugin.

Hi David,

Sections module has been deprecated and no longer supported since GPP 2.0 ( the latest version is 2.1.2). For more info: https://docs.generatepress.com/article/sections-overview/

But if your site has been using Sections, you should still be able to use it, although we strongly recommend converting your site to blocks.

Can you try disable all plugins except GPP to test?

Hi Ying,

Can you then please provide a link to the newest version 1 GP Premium plugin as currently my site is un-editable with turning off every other plugin and there are fifty of them, and I therefore need to roll back.

Regards,

David

Hi there,

do you have a backup of the site that you can roll back to? Most hosts generally keep a 24hr backup of their servers.

Hi David,

I dont want to roll back as a lot of updates have been done on the site since that backup.

I just need the version 1 of the plugin to rollback to.

regards,

David

Hi David,

I'm not sure rolling back will help, but we can definitely try that as a last resort.

First I want to learn a little more about the error.

vm is not defined

vm isn't something we define in our javascript for Sections. Have you confirmed that the error persists even with all other plugins deactivated?

Let me know :)

Hi Tom,

The issue goes away when I turn off all plugins.

The issue wasn't present before updating the GP Premium plugin so I am presuming rolling back will fix the issue.

Can you just send mt the version 1 plugin? If it doesn't work then it doesn't work, and I'll find a workaround myself. I wasn't expecting to pay you money to update the plugin and then have to go back and forth repeatedly to get what I'm asking for. A lot of companies offer older versions of plugins as standard.

Regards,

David

The issue goes away when I turn off all plugins.

This means one of those plugins is causing the conflict.

I can send you the latest version 1 if you contact us here: https://generatepress.com/contact

However, downgrading to an old unsupported version of the plugin is not a good idea. It will likely create more issues for you than it resolves. It would be better to actually find the root of the issue and resolve it.

This archived topic is closed to new replies.