Author Topic: PHP Warning: A non-numeric value encountered in vmpsplugin.php  (Read 80 times)

ptrouw

  • Jr. Member
  • **
  • Posts: 120
PHP Warning: A non-numeric value encountered in vmpsplugin.php
« on: January 03, 2018, 22:28:32 pm »
Is this a configuration issue in our shop or a bug.

[03-Jan-2018 13:46:53 CST6CDT] PHP Warning:  A non-numeric value encountered in /home/xxx/public_html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 1071
[03-Jan-2018 13:46:53 CST6CDT] PHP Warning:  A non-numeric value encountered in /home/xxx/public_html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 988

PHP code line 988: $costs = $method->cost_per_transaction + $cartPrice * $method->cost_percent_total * 0.01;
line 1071: $cartTotalAmount = ($cartTotalAmountOrig + $method->cost_per_transaction) / (1 -($method->cost_percent_total * 0.01));

php_errorlog full of these warnings.
Using vm 3.2.12.