Okay
  Public Ticket #3218009
Home Page MIssing
Closed

Comments

  •  1
    hzavery1 started the conversation

    The home page has disappeared. Its selected properly in WordPress and is editable in the back end but does not display on the front end.

    Looks like from the PHP log its a problem in 

    wc-template-functions.php on line 463

    Dump of full error here:

    [27-Jan-2023 18:55:54 UTC] PHP Fatal error:  Uncaught DivisionByZeroError: Modulo by zero in /home/chinook/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:463
    Stack trace:
    #0 /home/chinook/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(652): wc_get_loop_class()
    #1 /home/chinook/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(727): wc_get_product_class(Array, Object(WC_Product_Simple))
    #2 /home/chinook/public_html/wp-content/themes/salient/woocommerce/content-product.php(65): wc_product_class(Array, Object(WC_Product_Simple))
    #3 /home/chinook/public_html/wp-includes/template.php(785): require('/home/chinook/p...')
    #4 /home/chinook/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/home/chinook/p...', false)
    #5 /home/chinook/public_html/wp-content/plugins/salient-core/includes/vc_templates/nectar_woo_products.php(215): wc_get_template_part('content', 'product')
    #6 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(271): require('/home/chinook/p...')
    #7 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate(Array, '')
    #8 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(366): WPBakeryShortCode->content(Array, '')
    #9 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/helpers/helpers.php(1418): WPBakeryShortCode->output(Array, '')
    #10 /home/chinook/public_html/wp-includes/shortcodes.php(355): vc_do_shortcode(Array, '', 'nectar_woo_prod...')
    #11 [internal function]: do_shortcode_tag(Array)
    #12 /home/chinook/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\[(\[?)(nectar...', 'do_shortcode_ta...', '[nectar_woo_pro...')
    #13 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/helpers/helpers.php(240): do_shortcode('[nectar_woo_pro...')
    #14 /home/chinook/public_html/wp-content/plugins/salient-core/includes/vc_templates/vc_column.php(481): wpb_js_remove_wpautop('[nectar_woo_pro...')
    #15 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(271): require('/home/chinook/p...')
    #16 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate(Array, '[nectar_woo_pro...')
    #17 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(366): WPBakeryShortCode->content(Array, '[nectar_woo_pro...')
    #18 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/helpers/helpers.php(1418): WPBakeryShortCode->output(Array, '[nectar_woo_pro...')
    #19 /home/chinook/public_html/wp-includes/shortcodes.php(355): vc_do_shortcode(Array, '[nectar_woo_pro...', 'vc_column')
    #20 [internal function]: do_shortcode_tag(Array)
    #21 /home/chinook/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\[(\[?)(nectar...', 'do_shortcode_ta...', '[vc_column colu...')
    #22 /home/chinook/public_html/wp-content/plugins/salient-core/includes/vc_templates/vc_row.php(796): do_shortcode('[vc_column colu...')
    #23 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(271): require('/home/chinook/p...')
    #24 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, '[vc_column colu...')
    #25 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/classes/shortcodes/core/class-wpbakeryshortcode.php(366): WPBakeryShortCode_Vc_Row->content(Array, '[vc_column colu...')
    #26 /home/chinook/public_html/wp-content/plugins/js_composer_salient/include/helpers/helpers.php(1418): WPBakeryShortCode->output(Array, '[vc_column colu...')
    #27 /home/chinook/public_html/wp-includes/shortcodes.php(355): vc_do_shortcode(Array, '[vc_column colu...', 'vc_row')
    #28 [internal function]: do_shortcode_tag(Array)
    #29 /home/chinook/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\[(\[?)(nectar...', 'do_shortcode_ta...', '[vc_row type="f...')
    #30 /home/chinook/public_html/wp-includes/class-wp-hook.php(308): do_shortcode('[vc_row type="f...')
    #31 /home/chinook/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('[vc_row type="f...', Array)
    #32 /home/chinook/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(103): apply_filters('the_content', '[vc_row type="f...')
    #33 /home/chinook/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(206): YoastWPSEOBuildersIndexable_Link_Builder->build(Object(YoastWPSEOModelsIndexable), '[vc_row type="f...')
    #34 /home/chinook/public_html/wp-includes/class-wp-hook.php(310): YoastWPSEOIntegrationsWatchersIndexable_Post_Watcher->build_indexable(100130)
    #35 /home/chinook/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #36 /home/chinook/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #37 /home/chinook/public_html/wp-includes/post.php(4728): do_action('wp_insert_post', 100130, Object(WP_Post), true)
    #38 /home/chinook/public_html/wp-includes/post.php(4819): wp_insert_post(Array, false, true)
    #39 /home/chinook/public_html/wp-admin/includes/post.php(426): wp_update_post(Array)
    #40 /home/chinook/public_html/wp-admin/post.php(227): edit_post()
    #41 {main}  thrown in /home/chinook/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 463


  •  8,394
    Tahir replied

    Hey Again,

    From the Log it seems the "Woocommerce" Plugin has caused the issue. Try turning it off and check.

    Thanks 


    ThemeNectar Support Team 

  •  1
    hzavery1 replied

    OK. Well that seems to have fixed it, but it introduces a huge problem as the site is an e-com site and we need WooCommerce working.

    We are running Salient on other sites and are not having this issue.

    How do we fix this?

  •  1
    hzavery1 replied

    We are seeing this issue as well.



    Attached files:  Screenshot 2023-01-27 at 2.05.08 PM.png

  •  8,394
    Tahir replied

    Hey Again,

    Please update to the Latest Salient Theme Version.

    The current version of the theme is 15.0.8 and the current version of the page builder is 6.9.1. Salient versions older than v11 won't be compatible with WordPress 5.5.

    Here's the documentation on the available methods for updating Salient: http://themenectar.com/docs/salient/updating-salient/#methods Once you've updated that, the update for the included page builder will become available. Note that "Visual Composer" also renamed their plugin on Envato to "WPbakery page builder" a couple of years back.

    Here's an update guide on what to expect when jumping many major releases at once: http://themenectar.com/docs/salient/important-salient-update-for-new-envato-requirements/ take a read through before the update, as many things have changed.

    To get a list of Bug Fixes and new Feature addons in the Latest Theme updates view change log here http://themenectar.com/changelogs/salient.html .

    Thanks 


    ThemeNectar Support Team 

  •  1
    hzavery1 replied

    Where do I get the current version of the theme? Is it the download from Themeforest?

  •  1
    hzavery1 replied

    Disregard. All is now clear.


    Thanks Tahir!

  •  8,394
    Tahir replied

    Yes, You can get it from the Downloads Section in Themeforest. 

    Best 


    ThemeNectar Support Team 

  •  8,394
    Tahir replied

    Yes, You can get it from the Downloads Section in Themeforest. 

    Best 


    ThemeNectar Support Team