Home Forums Plugins WooCommerce Boost Sales Your Plugin Breaks the Single Product View

Your Plugin Breaks the Single Product View

  • Author
    Posts
  • #26227

    JohnS0N
    Participant

    I had to disable it because there is a fatal issue that I had not noticed before. It seems it appears randomly just on some product pages, the others are fine.

    [18-May-2019 23:13:26 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_id() on boolean in /home/xxx/public_html/wp-content/plugins/woocommerce-boost-sales/frontend/single_upsells.php:156
    Stack trace:
    #0 /home/xxx/public_html/wp-content/plugins/woocommerce-boost-sales/frontend/single_upsells.php(95): VI_WBOOSTSALES_Frontend_Single_Upsells->show_product(‘37242’, 0)
    #1 /home/xxx/public_html/wp-includes/class-wp-hook.php(286): VI_WBOOSTSALES_Frontend_Single_Upsells->init_upsells(”)
    #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /home/xxx/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /home/xxx/public_html/wp-includes/general-template.php(2762): do_action(‘wp_footer’)
    #5 /home/xxx/public_html/wp-content/themes/porto/footer.php(139): wp_footer()
    #6 /home/xxx/public_html/wp-includes/template.php(722): require_once(‘/home/xxx…’)
    #7 /home/xxx/public_html/wp-includes/template.php(671): load_templat in /home/xxx/public_html/wp-content/plugins/woocommerce-boost-sales/frontend/single_upsells.php on line 156

    And the effect is that random product images are displayed in the product page instead of the proper product. Messed up.

You must be logged in to reply to this topic. Click here to login or register