Author Topic: Auspost plugin - warning - vmPlugin compatiblity  (Read 416 times)

AnnieG13

  • Beginner
  • *
  • Posts: 29
  • A beginner
Auspost plugin - warning - vmPlugin compatiblity
« on: June 25, 2020, 03:44:10 am »
Hi all,
After weeks of 'playing' around with this site I still have issues.
I am getting a warning coming up, so any help would be great to great it sorted.

Using: Joomla 3.9 Virturmart 3.8
Site - www.puppylanetreats.com.au

Warning: Declaration of plgVmShipmentAuspostpac1::getVmPluginMethod($virtuemart_shipmentmethod_id) should be compatible with vmPlugin::getVmPluginMethod($int, $cache = false) in /home/puppylan/public_html/plugins/vmshipment/auspostpac1/auspostpac1.php on line 126

This is what line 126 is =    protected function getVmPluginMethod($virtuemart_shipmentmethod_id)

As I don't know what this line should read, I'm not sure how to what needs fixing.  :-\ :-\ :-\

Suggestions would help please.
ThanksAnnie

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9729
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Auspost plugin - warning - vmPlugin compatiblity
« Reply #1 on: June 25, 2020, 09:30:04 am »
see http://forum.virtuemart.net/index.php?topic=145098.msg515036#msg515036

it should be false .. but also should be up to date by the developer
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AnnieG13

  • Beginner
  • *
  • Posts: 29
  • A beginner
Re: Auspost plugin - warning - vmPlugin compatiblity
« Reply #2 on: June 28, 2020, 12:22:53 pm »
Hi,
So are you saying that

($int, $cache = false)

needs to be inserted into the line

protected function getVmPluginMethod __________ ($virtuemart_shipmentmethod_id)

where I have created the space?

Thanks Annie

AnnieG13

  • Beginner
  • *
  • Posts: 29
  • A beginner
Re: Auspost plugin - warning - vmPlugin compatiblity
« Reply #3 on: July 01, 2020, 03:29:08 am »
Hi all,
So after many hours of hair pulling, and thanks to GJC Web Design, it's now working.

Apparently it was the Auspost plugin, once I un-installed the current one and installed one that was working, it's looking how it should.

Thanks John, from Annie

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9729
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Auspost plugin - warning - vmPlugin compatiblity
« Reply #4 on: July 01, 2020, 10:02:37 am »
No problem...

just to clarify : the non working AusPost plugin wasn't mine .. it was replaced with my https://www.gjcwebdesign.com/joomla-downloads/virtuemart-3-auspost-australia-shipping-plugin.html  :)
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AnnieG13

  • Beginner
  • *
  • Posts: 29
  • A beginner
Re: Auspost plugin - warning - vmPlugin compatiblity
« Reply #5 on: July 06, 2020, 07:02:54 am »
Hi, yes I didn't explain that very well, I purchased a great working AusPost plugin from GJC Web Design and with lots of help these guys got me sorted.

A massive thank you John.

Cheers Annie