What is replacement in OXID 6 for this lines of code:
$this->_aViewData[‘editlang’] = $this->_iEditLang;
$oAction ->loadInLang($this->_iEditLang, $soxId);
I am receiving following error:
OxidEsales\EshopCommunity\Core\Model\MultiLanguageModel->loadInLang(Array, ‘oxexport’)
Here is my code:
$soxId = $this->_aViewData[“oxid”] = “oxexport”;
$this ->_aViewData[‘editlang’] = $this->_iEditLang;
$oAction ->loadInLang($this->_iEditLang, $soxId);
and I am receiving following error:
OxidEsales\EshopCommunity\Core\Model\MultiLanguageModel->loadInLang(0, ‘oxexport’);