Author Topic: setTranslatable error  (Read 495 times)

VampiRUS

  • Beginner
  • *
  • Posts: 9
setTranslatable error
« on: October 13, 2015, 11:03:01 am »
administrator/components/com_virtuemart/helpers/vmtable.php
Code: [Select]
public function setTranslatable($langFields) {

$this->_translatableFields = $langFields;
$this->_translatableFields['slug'] = 'slug';
$this->_translatable = true;

$this->_langTag = VmConfig::$vmlang;
$this->_tbl_lang = $this->_tbl . '_' . $this->_langTag;
}
$vmlang is undefined

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9937
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: setTranslatable error
« Reply #1 on: October 13, 2015, 20:58:57 pm »
Seems a 3rd party component is calling that without calling loadConfig first.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

VampiRUS

  • Beginner
  • *
  • Posts: 9
Re: setTranslatable error
« Reply #2 on: October 14, 2015, 06:05:29 am »
thank you!