Home Forums WoodMart support forum Critical error when viewing product drafts

Critical error when viewing product drafts

Viewing 13 posts - 1 through 13 (of 13 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?

    #647469

    Artem Temos
    Keymaster

    Hello,

    Try to go to Dashboard -> Updates -> Click on the “Check again” button and then update the plugin via WoodMart -> Plugins.

    Kind Regards

    #647532

    jasonUk44
    Participant

    Yes it states there’s an update however it will not update the normal way as the plugin isn’t registered as a stand alone and your theme is not pushing the updated version out for update.

    The download you provide on your site isn’t even the updated version. Can you please send me a link to download the updated version.

    Please advise as my site is experiencing serious issues with out this update.

    #647579

    Artem Temos
    Keymaster

    We just tested the update on your website and it works as expected. Please check it on your website now https://gyazo.com/3cd01482d9543bc4660ad6fc69541069

    #647591

    jasonUk44
    Participant

    The update is not available on my site even thought the plugin is saying theres an update..

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

    jasonUk44
    Participant

    Cam someone send me the latest JS version so I can manually update as the one in your download section is still the old version

    #647630

    Artem Temos
    Keymaster

    We just checked your website and see that it is updated to the latest version 8.3.1 https://gyazo.com/df9b2e8e7479be6f35e622dabb452810

    #647631

    jasonUk44
    Participant

    Yes but this is a demo site I out up to make sure I wasn’t doing anything wrong.. the main site hasn’t updated

    #647633

    Artem Temos
    Keymaster

    In this case, please your main website admin access so we can check what is wrong.

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