Hello guys,
sorry for the trouble but I have a small problem that I find the conclusion of the order and I hope that some of you can help me.
This warning appears but does not affect the correct order submission.
Notice: Undefined index: salesPrice in /var/www/html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 984
Notice: Undefined index: VatTax in /var/www/html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 1118
Warning: array_merge(): Argument #1 is not an array in /var/www/html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 1118
Notice: Undefined index: salesPrice in /var/www/html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 1119
Notice: Undefined index: salesPrice in /var/www/html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 984
(https://preview.ibb.co/h9twp9/image.jpg) (https://ibb.co/jxuQhU)
$cartPrice = !empty($cart->cartPrices['withTax'])? $cart->cartPrices['withTax']:$cart->cartPrices['salesPrice'];
$taxrules = array_merge($cart->cartData['VatTax'],$cart->cartData['taxRulesBill']);
$cartdiscountBeforeTax = $calculator->roundInternal($calculator->cartRuleCalculation($cart->cartData['DBTaxRulesBill'], $cart->cartPrices['salesPrice']));
I've also tried to disable the debugging display on the configurations, but it continues to appear with every order.
You could give me some advice, thanks in advance.
goldlink.
You should turn off the error reporting in joomla global configuration.
Please see the attached image for same
Although it is good to know the cause & solve it, the notices can be suppressed: http://forum.virtuemart.net/index.php?topic=102555
Possible PHP/VM version issue, but you show no version info!!! http://forum.virtuemart.net/index.php?topic=79799.0
Sorry,
Joomla 3.8.2
Virtuemart 3.2.8
Quote from: kishoreonwork on September 25, 2018, 12:37:33 PM
You should turn off the error reporting in joomla global configuration.
Please see the attached image for same
Thanks, I had already tried, but the error continued to appear.
Fixed instead setting on the configurations of Virtuemart: PHP Developer mode on No debug.
Thank you all for the support, I close.
QuoteJoomla 3.8.2
Virtuemart 3.2.8
!!!!!!!!!!!!!
current are
Joomla 3.8.12
VM 3.4.0
no one is going to be chasing notices on old versions