• hi

    PHP Fatal error: Uncaught Error: Call to a member function get_low_stock_amount() on bool in /home/maxbax/public_html/wp-content/plugins/woocommerce/includes/wc-stock-functions.php:407 Stack trace: #0 /home/maxbax/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/ProductSchema.php(529): wc_get_low_stock_amount(false) #1 /home/maxbax/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/ProductSchema.php(473): Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema->get_low_stock_remaining(Object(WC_Product_Variation)) #2 /home/maxbax/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Routes/V1/Products.php(67): Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema->get_item_response(Object(WC_Product_Variation)) #3 /home/maxbax/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Routes/V1/AbstractRoute.php(109): Automattic\WooCommerce\StoreApi\Routes\V1\Products->get_route_ in /home/maxbax/public_html/wp-content/plugins/woocommerce/includes/wc-stock-functions.php on line 407

    • This topic was modified 1 year, 1 month ago by oyantec.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Sandip Mondal – a11n

    (@sandipmondal)

    Hi @oyantec,

    I understand that you are facing an issue where the stock is not deducted after orders are placed and the order notes do not display correctly, right?

    I see you mentioned that you are facing this issue for a few months, can you please share some additional details?

    • Could you share a copy of your site’s System Status Report with us? You’ll find it at the top of the page under WooCommerce > Status > Get system report > Copy for support (after you scroll down a bit). Paste the result here in your reply.
    • Can you please let us know when this started to happen? Did it start after installing a plugin or after making some code customization?
    • Could you please provide us with a screenshot of the order so that we can see what you are describing? Please remove/hide any sensitive data from the screenshot.

    If you don’t already have a screenshot service installed, here are a few free options:

    There is also a walkthrough guide here: https://en.support.wordpress.com/make-a-screenshot/

    Once we have more details about the issue, we will be happy to take a look and assist you accordingly.

    Looking forward to hearing back from you!

    Thread Starter oyantec

    (@oyantec)

    Thank you for your response.
    Unfortunately, whenever I click on the “system report download” option, the report does not appear to be displayed.

    Plugin Support Sandip Mondal – a11n

    (@sandipmondal)

    Hi @oyantec,

    Thank you for getting in touch with us and letting us know about the issue you are facing with copying the system report.

    To assist you with this issue, we suggest that you try the following steps:

    • Clear your web browser’s cache and cookies.
    • Try accessing the system report from a different web browser or device.
    • If that does not work, can you please send us a screenshot of the error you are seeing while copying the System Status Report from WooCommerce > Status > Get system report > Copy for support?

    If you don’t already have a screenshot service installed, here are a few free options:

    There is also a walkthrough guide here: https://en.support.wordpress.com/make-a-screenshot/

    Looking forward to hearing back from you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Call to a member function get_low_stock_amount(’ is closed to new replies.