Author Topic: warning Advanced Shipping by Rules for VirtueMart  (Read 1341 times)

2cool

  • Jr. Member
  • **
  • Posts: 247
warning Advanced Shipping by Rules for VirtueMart
« on: November 14, 2019, 13:26:19 pm »
Hi after update I see this warning:

Unknown variable 'Amount' in rule 'Amount=100'
Syntax error during evaluation, RPN is not well formed! (Full rule: '=Amount')
Unknown error occurred during evaluation of rule '=Amount'.
Outstack:

Array
(
   
  • => Amount
  • [1] => =
    )

    Assignments are not allowed inside expressions (rule given was '=Amount')
    Unknown variable 'Amount' in rule 'Amount=200'

    I noticed some customers don't see right options in cart.
    How can this be fixed?

    Joomla 3.9.13 vm3.6.8 php 7.3

    Regards
    Pas

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10032
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: warning Advanced Shipping by Rules for VirtueMart
« Reply #1 on: November 14, 2019, 16:40:08 pm »
I assume its your php 7.3 .. try 7.2

as u know the developer doesn't support his plugin anymore but I am using it successfully on various sites vm3.6.8 with php7.2
haven't seen this error so far but don't use any Amount rules
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

2cool

  • Jr. Member
  • **
  • Posts: 247
Re: warning Advanced Shipping by Rules for VirtueMart
« Reply #2 on: November 14, 2019, 21:27:12 pm »
Thank you,
I know support ended. Guess php is causing this.
Hopefully someone here knows how to fix this.

Was a post already but not sure if this should fix.
https://open-tools.net/forum/vm-shipping-by-rules-plugins/5855-virtuemart-4-6-get-the-custom-plugins-work-again.html

Thanks

Lundahl

  • Beginner
  • *
  • Posts: 1
  • A beginner
Re: warning Advanced Shipping by Rules for VirtueMart
« Reply #3 on: November 15, 2019, 12:55:41 pm »
This fix didn't work for me. I basically gave up on it a month ago. If you manage to figure something out please let us know here, 2cool.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10087
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: warning Advanced Shipping by Rules for VirtueMart
« Reply #4 on: November 21, 2019, 19:07:37 pm »
I could update it. Write a ticket at extensions.virtuemart.net/ticket
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

2cool

  • Jr. Member
  • **
  • Posts: 247
Re: warning Advanced Shipping by Rules for VirtueMart
« Reply #5 on: November 23, 2019, 09:07:29 am »
Milbo do you mean Advanced Shipping by Rules for VirtueMart? please do it's very nice.
But could this issue also be related to php 7.3.1? are there isues with this version with virtuemart?

Thanks,
Pas