• Resolved Saucal

    (@harmz)


    Hi team! I’d like to report an issue while trying to place an order with specific conditions.

    The issue is in line 266:
    PHP Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, array given in plugins/lootly-for-woocommerce/classes/api/Events.php:266
    Method: get_order_data()

    The thing is that the $taxes variable is set in line 232 and method_get_tax_totals() is returning an array, which is totally fine, but the plugin should check that before trying to format.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author ryanlootly

    (@ryanlootly)

    Hi,

    Thank you for bringing this to our attention.

    Our team pushed update 1.24 a few days ago which addressed this issue + we added support for PHP 8.1 / latest WordPress.

    Thank you for using Lootly.

    Ryan

Viewing 1 replies (of 1 total)

The topic ‘Error if multiple taxes applies’ is closed to new replies.