Open world-of-walker opened 3 years ago
You can scan the PriceCurrency.php file and replace all $this->getPricePrecision()
by
intval($this->getPricePrecision())
number_format() expects parameter 2 to be int, string given when i click on product (backend) it giving this kind of error
Hi @world-of-walker , This can be fixed by doing the following: https://github.com/quintenbuis/magento2-price-decimal/commit/1a8ee68d963560f2dc36a0f69beb3a42018ccb2e
This will also be fixed in #58
TypeError: round() expects parameter 2 to be int, string given in /var/www/vhosts/myorigin.info/httpdocs/app/code/Lillik/PriceDecimal/Model/Plugin/PriceCurrency.php:43 Stack trace: #0