[SOLVED] getting PHP Warning:Declaration of plgVmShipmentRules_Shipping_Base...

Started by safire, September 11, 2020, 21:40:32 PM

Previous topic - Next topic

safire

JM 3.9.21, VM 3.8.4, PHP 7.2 (7.3 breaks some elements on site).

This came to my attention today. My error_log is filled up with entries like this:

PHP Warning:  Declaration of plgVmShipmentRules_Shipping_Base::setCartPrices(VirtueMartCart $cart, &$cart_prices, $method) should be compatible with vmPSPlugin::setCartPrices(VirtueMartCart $cart, &$cart_prices, $method, $progressive = true) in /home/golfspast/public_html/htdocs/plugins/vmshipment/rules_shipping/rules_shipping_base.php on line 756

Not sure how to address this. Can anyone provide insights?

Jörgen

Is this an custom shipment extension:

plgVmShipmentRules, then I guess it is not PHP 7.x ready.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

safire

I'm using this plugin: Shipping by Rules for VirtueMart. Attached is a screen shot.

http://open-tools.net/documentation/shipping-by-rules-plugins-for-virtuemart.html

This is the culprit? It's quite old. I'll look for a replacement plugin.


Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

safire

Yes, no more errors showing up.