myparcelnl / prestashop

PrestaShop module to integrate with MyParcel NL and BE
https://developer.myparcel.nl/nl/documentatie/11.prestashop.html
10 stars 5 forks source link

[BETA]: Fatal int/float type error in WeightService #256

Closed tajriba closed 1 month ago

tajriba commented 3 months ago

Module version

4 beta 3

PrestaShop version

8.1.5

PHP version

8.1

What went wrong?

opening orders page

Scherm­afbeelding 2024-05-14 om 14 03 01

Reproduction steps

Relevant log output

[2024-05-14 14:07:15] request.CRITICAL: Uncaught PHP Exception TypeError: "ceil(): Argument #1 ($num) must be of type int|float, string given" at /var/www/vhosts/.com/httpdocs/modules/myparcelnl/vendor/myparcelnl/pdk/src/Base/Service/WeightService.php line 56 {"exception":"[object] (TypeError(code: 0): ceil(): Argument #1 ($num) must be of type int|float, string given at /var/www/vhosts/.com/httpdocs/modules/myparcelnl/vendor/myparcelnl/pdk/src/Base/Service/WeightService.php:56)"} []

Additional context

No response

myparcel-bot[bot] commented 1 month ago

:tada: This issue has been resolved in version 4.0.0-beta.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: