Fatal Error Admin Order method_exists

This also is an issue in the WooDecimalProduct_quantity_Input_Min function in the same file. Basically anywhere you call method_exists you need to make sure $product is an actual product before calling the method

Plugin Author


Hello nkals722

Try v.10.33

I could not see your screenshot.

Try this:

A specific error message is:

PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /path/plugins/decimal-product-quantity-for-woocommerce/includes/admin_order.php:20

I’ve laid out the exact cause of the issue tho. If it is trying to apply this to a product that doesn’t exist, it blows up.

10.33 Does appear to fix it, thank you.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer