vmError: Unrecognised mathop in calculation rule found

Started by raideruk, May 08, 2015, 21:19:05 PM

Previous topic - Next topic

raideruk

Hi All,

I have tried searching these forums and I have had no luck, I can normally sort out any problems with doing the same thing but in this case it seems pretty elusive.

Basically I am getting the following error vmError: Unrecognised mathop in calculation rule found, seems you created this rule with plugin not longer accessible (deactivated, uninstalled?)

However, no plugins have been disabled, uninstalled, everything is the same it just seems to have appeared.I am using the following:

VirtueMart 2.6.14
PHP Version 5.5.24
Joomla! 2.5.25

I would say that I will update virtuemart to the latest version but I have a couple of pieces of code in place that will ultimately revert to default and could possibly break some "stuff", As a starting point I disabled all of the calculation rules, refreshed the shopping cart and the error still shows. And re-enabling them, the error still shows.

I enabled debugging and these were the errors shown

Notice: Undefined index: calc_value_mathop in /var/www/vhosts/hcsp.co.uk/httpdocs/hcsp/administrator/components/com_virtuemart/helpers/calculationh.php on line 1433

Notice: Undefined index: calc_currency in /var/www/vhosts/hcsp.co.uk/httpdocs/hcsp/administrator/components/com_virtuemart/helpers/calculationh.php on line 1435

Notice: Undefined index: calc_value_mathop in /var/www/vhosts/hcsp.co.uk/httpdocs/hcsp/administrator/components/com_virtuemart/helpers/calculationh.php on line 1433

Notice: Undefined index: calc_currency in /var/www/vhosts/hcsp.co.uk/httpdocs/hcsp/administrator/components/com_virtuemart/helpers/calculationh.php on line 1435


Any help would be greatly appreciated.

Regards

Wesley

raideruk

Nevermind, the option vat tax per product option in the Type of Arithmetic Operation fixes this issue