lillik/magento2-price-decimal

Magento does not work with this plugin

eyesoverrun opened this issue · 4 comments

Does not work with Magento 2.1.8
This is the error in var/log/system.log:
[2017-09-28 12:51:41] main.CRITICAL: Strict Notice: Lillik\PriceDecimal\Model\Plugin\PriceFormatPluginAbstract and Lillik\PriceDecimal\Model\PricePrecisionConfigTrait define the same property ($moduleConfig) in the composition of Lillik\PriceDecimal\Model\Plugin\PriceFormatPluginAbstract. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in /var/www/vhosts/site/vendor/lillik/magento2-price-decimal/Model/Plugin/PriceFormatPluginAbstract.php on line 51 [] []

@eyesoverrun what is your PHP version?

It's PHP 5.6

Fixed. Please Update module via composer.

Now I have another problem.
The prices are rounded despite the backend price is correct and a javascript when loading the product page rounds to 2 decimal places.
out-2