Support » Plugin: Product Size Charts Plugin for WooCommerce » Recent update broke my site

  • Resolved TechMan

    (@techman)


    Just installed updated which was released around 40 minutes ago and now product page is all messed up. Getting following errors in debug.log file:

    [04-Oct-2021 10:07:46 UTC] PHP Fatal error:  Uncaught Error: Using $this when not in object context in /var/www/google.com/html/wp-content/plugins/woo-advanced-product-size-chart/public/class-size-chart-for-woocommerce-public.php:278
    Stack trace:
    #0 /var/www/google.com/html/wp-includes/class-wp-hook.php(303): SCFW_Size_Chart_For_Woocommerce_Public::size_chart_popup_button_callback()
    #1 /var/www/google.com/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #2 /var/www/google.com/html/wp-includes/plugin.php(470): WP_Hook->do_action()
    #3 /var/www/google.com/html/wp-content/themes/estore/woocommerce/content-single-product.php(66): do_action()
    #4 /var/www/google.com/html/wp-includes/template.php(772): require('/var/www/google...')
    #5 /var/www/google.com/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
    #6 /var/www/google.com/html/wp-content/themes/estore/woocommerce/single-product.php(59): wc_get_template_part()
    #7 /var/www/google.com/html/wp-includes/template-loader.ph in /var/www/google.com/html/wp-content/plugins/woo-advanced-product-size-chart/public/class-size-chart-for-woocommerce-public.php on line 278
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello Techman,

    Thanks for reaching out to us and for sharing the detail about the error.

    Can you please update the plugin to the latest version again? It will work for you now because the upgrade might be causing some issues in the plugin update process.

    Let us know after updating still you getting any issues. We will review and release a new version.

    Waiting for your feedback.

    Best Regards,
    Hitendra & Dotstore Team

    Thread Starter TechMan

    (@techman)

    How can I update it again because I don’t see any new update after yesterday? Please tell me how to do that.

    I am having the same issue and there seems only 1 solution and that is to disable or delete the plugin. doing this resolved my issue

    • This reply was modified 8 months, 3 weeks ago by manoranjan11.
    Thread Starter TechMan

    (@techman)

    I deleted and installed plugin again and problem is fixed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Recent update broke my site’ is closed to new replies.