• The tech on WordPress chat told me to send you this code for the error we keep getting. I have to have decimal quantities on my website. This error comes up on all site editor themes in WordPress/Woo Commerce. Is there anyway to correct it??

    atal error:? Uncaught TypeError: Automattic\WooCommerce\StoreApi\Utilities\QuantityLimits::limit_to_multiple(): Argument #1 ($number) must be of type int, string given, called in /wordpress/plugins/woocommerce-accelerated-frequency/8.4.0.10/packages/woocommerce-blocks/src/StoreApi/Utilities/QuantityLimits.php on line 58 and defined in /wordpress/plugins/woocommerce-accelerated-frequency/8.4.0.10/packages/woocommerce-blocks/src/StoreApi/Utilities/QuantityLimits.php:72 Stack trace: #0 /wordpress/plugins/woocommerce-accelerated-frequency/8.4.0.10/packages/woocommerce-blocks/src/StoreApi/Utilities/QuantityLimits.php(58): Automattic\WooCommerce\StoreApi\Utilities\QuantityLimits->limit_to_multiple(”, ”, ‘ceil’) #1 /wordpress/plugins/woocommerce-accelerated-frequency/8.4.0.10/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/ProductSchema.php(487): Automattic\WooCommerce\StoreApi\Utilities\QuantityLimits->get_add_to_cart_limits(Object(WC_Product_Simple))

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    I have escalated this with our development team. They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

    Plugin Contributor Kousik Mukherjee

    (@kousikmukherjeeli)


    Hello @smjones1169,

    Please try the following options as mentioned in the instructions below and see what happens. I hope your issue will be resolved.

    1. Go to Advanced > WooCommerce block compatibility > Enable

      OR
    2. Go to General > Decimal quantities > Enable

    Regards,
    Kousik Mukherjee

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘not working with site editor themes on WordPress’ is closed to new replies.