News:

Looking for documentation? Take a look on our wiki

Main Menu

calculationh.php on line 1272

Started by capewellmj, June 01, 2015, 23:46:12 PM

Previous topic - Next topic

capewellmj

Hello

I am getting the following error in my cart (yagendoo ajax cart):

virtuemart_state_id in /home/user/public_html/administrator/components/com_virtuemart/helpers/calculationh.php on line 1272

Can anyone help me with this error?

Thank you for any help

Martin
VM 3.0.9  J3.4.1

Milbo

ehrm, you wrote only parts of the error
the code there

} else if (!empty($rule['virtuemart_state_ids']) ) {
$hitsDeliveryArea = $this->testRulePartEffecting($rule['virtuemart_state_ids'], $this->_deliveryState);
}


So what is with  virtuemart_state_ids ? virtuemart_state_id is not used there
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

seems the vmdebug has an old virtuemart_state_id there, just delete the line
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

capewellmj

So just delete line 1272? Any of the lines around it?

Martin

Milbo

just the line with the vmdebug, or just the  .$virtuemart_state_id  (beware the dot)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/