Skip Navigation

[Resolved] WPBakery editor not loading when editing a content model

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by francisS 2 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2465185

I am trying to: open in admin any existing content model built with wpbakery for example :
hidden link

The WPBakery editor doesn't display the content. Console shows this error :
Uncaught TypeError: Cannot read properties of undefined (reading 'show')
at backend_editor.js?ver=4.1.10:67:20
at dispatch (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.0.2:2:43064)
at v.handle (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.0.2:2:41048)
(anonyme) @ backend_editor.js?ver=4.1.10:67
dispatch @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.0.2:2
v.handle @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.0.2:2

Corresponding at :
self.initializeVisualComposerBackendEditor = function() {
$( window ).on( "load", function() {
/* no fullscreen, no vc save button */
jQuery( '#vc_navbar .vc_save-backend, #vc_fullscreen-button' ).remove();

/* show vc editor */
vc.app.show(); // <= this line causes error

Below I give you the access to a copy on a dev site, with exactly the same problem :
hidden link

#2465503

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is a known issue with WP Bakery page builder and we shared the patch with the following errata page:
- https://toolset.com/errata/can-no-longer-edit-content-templates-with-wp-bakery-page-builder/

Could you please try and apply the patch and let us know if that helps you to resolve the issue.

#2465777
screenshot-2022-09-27_12-44-22.jpg

Hi,

I've installed backend.phtml in wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/user-editors/editor/screen/visual-composer but it doesn't solve the issue.

I've also tryied to replace it in wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/user-editors/editor/screen/visual-composer with same result.

No matter if it's Toolset blocks or Toolset views that is activated.

There is no more Javascript error in the console but the WPBakery editor content doesn't loead and buttons have no effect.

Sorry...

#2465923

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you are using the plugin "Salient WPBakery Page Builder" but we do not have any official integration with that plugin.

This is the plugin we do have integration with:
https://toolset.com/course-lesson/using-toolset-with-wpbakery-page-builder/

#2465927

Salient WPBakery Page builder IS just the integration in the Salient theme of standard WPBakery page builder.

So it's THE SAME !!!!

It was working last week...

😉

#2465929

Salient WPBakery Page builder IS just the integration in the Salient theme of standard WPBakery page builder.

So it's THE SAME !!!!

It was working last week...

😉

#2466471

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked with the 2nd tier support and I can confirm that we only support the canonical version of WP Bakery page builder. Any other version or variation is not supported. You will have to get in touch with your theme support in this regard.

However, just to point out that the errata I shared before:
- https://toolset.com/errata/can-no-longer-edit-content-templates-with-wp-bakery-page-builder/
The file shared as workaround should be applied to ALL Toolset plugins you installed at the path:

toolset-plugin/vendor/toolset/toolset-common/user-editors/editor/screen/visual-composer/

If you already did that, you should skip this information.

#2467251

After applying patch to all toolset plugins, my issue is resolved now.
That was the solution !

Thank you