VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: semiworld on January 11, 2021, 17:47:26 PM

Title: VirtueMart 3.8.6 + PHP 7.4 - Istraxx Quantity PHP Warnings
Post by: semiworld on January 11, 2021, 17:47:26 PM
Hi!

I just but the Istraxx Quality Plugin and after Activation I get the following PHP warnings:


Warning: Parameter 1 to plgVmCalculationIstraxx_quantity::plgVmInGatherEffectRulesBill() expected to be a reference, value given in /is/htdocs/wp12614973_2IPA42C6ZN/www/web/libraries/joomla/event/event.php on line 70

and

Warning: count(): Parameter must be an array or an object that implements Countable in /is/htdocs/wp12614973_2IPA42C6ZN/www/web/plugins/vmcalculation/istraxx_quantity/istraxx_quantity.php on line 308


PHP Version 7.4.14, Virtuemart 3.8.6

Any ideas?

best regards,
michael
Title: Re: VirtueMart 3.8.6 + PHP 7.4 - Istraxx Quantity PHP Warnings
Post by: pinochico on January 11, 2021, 21:30:19 PM
Yes, ofcourse - find count() on php4.net and rewrite in PHP code - step by step by warning :)

Or send question to Max (VM DEV) about PHP compatibility their plugin - is not compatible with PHP7.4