I just upgraded to 1.2 on my Linux hosting and am now getting this error:Fatal error: Call to a member function getLanguageID() on a non-object in /core/lib/tax.php on line 112. I get the same error when I try to logon to the admin section as well. Being new to AbanteCart Cart, and not a hard core php coder, I am not sure where or what to do next. Any direction would be appreciated.
Code from File:
/**
* Get available tax classes for country ID and zone ID
* Storefront use only!!
* @param $country_id
* @param $zone_id
* @return mixed|null
*/
public function getTaxes($country_id, $zone_id){
$country_id = (int)$country_id;
$zone_id = (int)$zone_id;
$language = $this->registry->get('language');
**** $language_id = $language->getLanguageID(); ****** This is line 112
$cache_name = 'tax_class.'.$country_id.'.'.$zone_id;
$results = $this->cache->get($cache_name, $language_id);
if(is_null($results)){
TIA,
Greg