Fatal error: Call to undefined function vmAdminInfo() in /home/pleassco/public_h

Started by reggiesingh, July 10, 2012, 03:18:45 AM

Previous topic - Next topic

reggiesingh

I am getting the following error when I publish a shiiping rule.

Fatal error: Call to undefined function vmAdminInfo() in /home/pleassco/public_html/plugins/vmshipment/weight_countries/weight_countries.php on line 282

This is what weight_countries.php says:

private function _weightCond($orderWeight, $method) {

      $weight_cond = (($orderWeight >= $method->weight_start AND $orderWeight <= $method->weight_stop)
         OR
         ($method->weight_start <= $orderWeight AND $method->weight_stop === ''));
(line 282)      vmAdminInfo('weigth_countries _weightCond orderWeight:'. $orderWeight. ' method->weight_start:'. $method->weight_start.' method->weight_stop:'.
         $method->weight_stop. ' result:'.$weight_cond);
      return $weight_cond;
   }

Thanks

Reggie

alatak

Hello,

Are you sure you have updated both the VirtueMart component ad the AIO?
the function vmAdminInfo has been added in the file administrator/components/com_virtuemart/helpers/config.php
line 103.
Can you check if you have it?