Fatal error: Uncaught TypeError: floor(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/modules/we_round_discount/we_round_discount.php:61
Stack trace:
#0 /var/www/html/modules/we_round_discount/we_round_discount.php(61): floor('20%')
#1 /var/www/html/classes/Hook.php(1043): We_Round_Discount->hookActionPresentProduct(Array)
#2 /var/www/html/override/classes/Hook.php(52): HookCore::coreCallHook(Object(We_Round_Discount), 'hookActionPrese...', Array)
#3 /var/www/html/classes/Hook.php(418): Hook::coreCallHook(Object(We_Round_Discount), 'hookActionPrese...', Array)
#4 /var/www/html/classes/Hook.php(981): HookCore::callHookOn(Object(We_Round_Discount), 'actionPresentPr...', Array)
#5 /var/www/html/src/Adapter/Presenter/Product/ProductPresenter.php(114): HookCore::exec('actionPresentPr...', Array)
#6 /var/www/html/controllers/front/ProductController.php(1242): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language))
#7 /var/www/html/controllers/front/ProductController.php(421): ProductControllerCore->getTemplateVarProduct()
#8 /var/www/html/override/controllers/front/ProductController.php(269): ProductControllerCore->initContent()
#9 /var/www/html/classes/controller/Controller.php(319): ProductController->initContent()
#10 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run()
#11 /var/www/html/index.php(28): DispatcherCore->dispatch()
#12 {main}
thrown in /var/www/html/modules/we_round_discount/we_round_discount.php on line 61