Page 1 of 1

Errors of the version 1.38.0

PostPosted: 28 Nov 2023, 17:40
by support
Errors of the version 1.38.0

Re: Errors of the version 1.38.0

PostPosted: 21 Feb 2024, 17:31
by andipas
An error occurred when adding a new language.

To fix the file protected/modules/lang/models/Lang.php

After
Code: Select all

        if 
(issetModule('location', true)) {
            array_push($this->_modelNameI18nArr, "City");
            array_push($this->_modelNameI18nArr, "Region");
            array_push($this->_modelNameI18nArr, "Country");


Add
Code: Select all

array_push
($this->_modelNameI18nArr, "District");