Good afternoon!
See if you can help me.
I'm having an error every minute on the site:
PHP Warning: plgVmPaymentGerencianet :: setCartPrices statement (VirtueMartCart $ cart, & $ cart_prices, $ method) must be compatible with vmPSPlugin :: setCartPrices (VirtueMartCart $ cart, & $ cart_prices, $ method, $ progressive = true) in / home / xxxxxxxxx / public_html / plugins / vmpayment / managernet / managersnet.php at line 1465
Payment Plugin: Gerencianet
Joomla 3.9.12
PHP 7.2
VirtueMart 3.4.2
just add to the function parameters
setCartPrices (VirtueMartCart $cart, & $cart_prices, $method)
to
setCartPrices (VirtueMartCart $cart, & $cart_prices, $method, true)
line 1465
Problem solved, thank you very much...
function setCartPrices (VirtueMartCart $cart, &$cart_prices, $method, $progressive=true) {
return parent::setCartPrices($cart, $cart_prices, $method, $progressive=true);
}