Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extension issue #61

Open
world-of-walker opened this issue Mar 20, 2021 · 3 comments
Open

extension issue #61

world-of-walker opened this issue Mar 20, 2021 · 3 comments

Comments

@world-of-walker
Copy link

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

@Patriboom
Copy link

You can scan the PriceCurrency.php file and replace all
$this->getPricePrecision()

by

intval($this->getPricePrecision())

@world-of-walker
Copy link
Author

number_format() expects parameter 2 to be int, string given
when i click on product (backend) it giving this kind of error

@quintenbuis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants