News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

fix and disable warning

Started by 2cool, November 14, 2019, 14:30:35 PM

Previous topic - Next topic

2cool

Hi after update I see this warning;

How can this be disabled or fixed? Is this a setting?

Regards,
Pas

AH

this looks like your shipping plugin

you have already posted this error

please talk to the plugin developer
Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

2cool

 :-X

Joomla 3.9.13 vm3.6.8 php 7.3

The message:
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'

    Regards
    Pas

GJC Web Design

to solve we need some better debug with files and line numbers -- try with Joomla debug on to produce a full stack trace
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

2cool

I set this rule in Advanced Shipping by Rules for VirtueMart:
Name=PostNL; Amount=25; ShippingWithTax=3.95
Name=Gratis verzending; 25<=Amount; ShippingWithTax=0

Unknown variable 'Amount' in rule 'Amount=25'
Unknown variable '25' in rule '25=Amount'

Seems the '<' is removed after save, not compatible with php7.3?

Regards
Pas