• Following the recent update to 3.0.0, this plugin causes a critical error on my website (although no error is visible) but it is caused by this plugin. I have rolled back to v2.0.2 and it works perfectly.

    Error Details

    An error of type E_ERROR was caused in line 45 of the file /var/www/vhosts/[website].co.uk/httpdocs/wp-content/plugins/woo-set-price-note/includes/awspn-backend.php. Error message: Uncaught Error: Class “Woo_Set_Price_Note_Admin” not found in /var/www/vhosts/[website].co.uk/httpdocs/wp-content/plugins/woo-set-price-note/includes/awspn-backend.php:45
    Stack trace: 0 /var/www/vhosts/[website].co.uk/httpdocs/wp-includes/class-wp-hook.php(341): Woo_Set_Price_Note_Backend->render_product_data_panel() 1 /var/www/vhosts/[website].co.uk/httpdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() 2 /var/www/vhosts/[website].co.uk/httpdocs/wp-includes/plugin.php(522): WP_Hook->do_action() 3 /var/www/vhosts/[website].co.uk/httpdocs/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php(54): do_action() 4 /var/www/vhosts/[website].co.uk/httpdocs/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(39): include(‘…’) 5 /var/www/vhosts/[website].co.uk/httpdocs/wp-admin/includes/template.php(1458): WC_Meta_Box_Product_Data::output() 6 /var/www/vhosts/[website].co.uk/httpdocs/wp-admin/edit-form-advanced.php(721): do_meta_boxes() 7 /var/www/vhosts/[website].co.uk/httpdocs/wp-admin/post.php(206): require(‘…’) 8 {main}

    thrown

Viewing 1 replies (of 1 total)
  • Plugin Author Shiva Shanker Bhatta

    (@shivashankerbhatta)

    Hi @zitoooo,

    Thank you so much for bringing this to our attention and providing the exact error log details! This is incredibly helpful.

    What happened: In version 3.0.0, we introduced a performance check to load settings efficiently. However, on certain site configurations, WooCommerce or another active plugin triggers the product data panel slightly earlier than expected. Because of this timing difference, our main administration class hasn’t fully loaded into memory yet, causing PHP to throw that Class "Woo_Set_Price_Note_Admin" not found error.

    The fix: We have already identified the exact cause and implemented a foolproof safeguard to ensure this file waits properly and never crashes your site again, regardless of how early WooCommerce loads.

    We are currently wrapping up testing and will release v3.0.1 in the next few hours to completely patch this issue.

    Once the update is live in your WordPress dashboard, you can safely upgrade from v2.0.2 to v3.0.1. If you run into any other issues after updating, please let us know right here!

    Thank you again for your patience and for helping us make the plugin better.

    Best regards,
    Shiva

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.