Home Forums WoodMart support forum Critical error when viewing product drafts

Critical error when viewing product drafts

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #647299

    jasonUk44
    Participant

    I 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 1687

    Urgent help is needed as this is an issue on a live version of the site.

    #647323

    Artem Temos
    Keymaster

    Hello,

    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

    #647324

    jasonUk44
    Participant

    There is no update notice available for it… and the one in the support section of your site is still 8.3

    #647325

    jasonUk44
    Participant

    See screenshot

    Attachments:
    You must be logged in to view attached files.
    #647346

    jasonUk44
    Participant

    Where do we get the update from?

Viewing 5 posts - 1 through 5 (of 5 total)