Home › Forums › WoodMart support forum › Critical error when viewing product drafts
Critical error when viewing product drafts
- This topic has 4 replies, 2 voices, and was last updated 2 hours, 15 minutes ago by
jasonUk44.
-
AuthorPosts
-
March 19, 2025 at 6:00 pm #647299
jasonUk44ParticipantI have installed a fresh WordPress environment and only the plugins that come with my selected variation of the theme however when I try and preview a draft product it triggers an error message that there is a critical error on the site.
I have tracked this back to a WP Bakery layout issue however I cannot pinpoint what it is. All plugins are updated and functioning correctly.
Debug enabled.
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /homepages/34/d4298879803/htdocs/wordpress/wp-content/plugins/js_composer/include/helpers/helpers.php:1687 Stack trace: #0 /homepages/34/d4298879803/htdocs/wordpress/wp-content/plugins/js_composer/modules/post-custom-layout/module.php(203): wpb_update_id_with_preview_id() #1 /homepages/34/d4298879803/htdocs/wordpress/wp-content/plugins/js_composer/modules/post-custom-layout/module.php(106): Vc_Post_Custom_Layout_Module->get_layout_from_meta() #2 /homepages/34/d4298879803/htdocs/wordpress/wp-content/plugins/js_composer/modules/post-custom-layout/module.php(80): Vc_Post_Custom_Layout_Module->get_custom_layout_name() #3 /homepages/34/d4298879803/htdocs/wordpress/wp-includes/class-wp-hook.php(324): Vc_Post_Custom_Layout_Module->switch_post_custom_layout() #4 /homepages/34/d4298879803/htdocs/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /homepages/34/d4298879803/htdocs/wordpress/wp-includes/template-loader.php(104): apply_filters() #6 /homepages/34/d4298879803/htdocs/wordpress/wp-blog-header.php(19): require_once(‘/homepages/34/d…’) #7 /homepages/34/d4298879803/htdocs/wordpress/index.php(17): require(‘/homepages/34/d…’) #8 {main} thrown in /homepages/34/d4298879803/htdocs/wordpress/wp-content/plugins/js_composer/include/helpers/helpers.php on line 1687Urgent help is needed as this is an issue on a live version of the site.
March 19, 2025 at 6:56 pm #647323
Artem TemosKeymasterHello,
You need to update the WPBakery page builder plugin to the latest version 8.3.1. You can do this in Dashboard -> WoodMart -> Plugins.
Kind Regards
March 19, 2025 at 7:04 pm #647324
jasonUk44ParticipantThere is no update notice available for it… and the one in the support section of your site is still 8.3
March 19, 2025 at 7:06 pm #647325March 19, 2025 at 8:25 pm #647346
jasonUk44ParticipantWhere do we get the update from?
-
AuthorPosts
Tagged: critical error, debug, wp bakery
- You must be logged in to create new topics. Login / Register