Page 1 of 1

Errors of the version 1.21.1

PostPosted: 17 Sep 2017, 11:22
by support
Errors of the version 1.21.1

Re: Errors of the version 1.21.1

PostPosted: 17 Oct 2017, 15:01
by Foton
Error while adding a listing in PHP7.x

To fix the error you need:
In a file protected\modules\apartments\components\CustomGMap.php after



Code: Select all
$inMarker .= '<div align="center" class="gmap-marker-adress">';
$inMarker .= CHtml::encode($address).'</div></div>';
}

add

Code: Select all
if (!$title) {
    $title = '';
}


in a file Dprotected\modules\apartments\components\CustomYMap.php after

Code: Select all
$clusterCaption = '';
if ($model) {

add

Code: Select all
if (!$title) {
    $title = '';
}


in a file protected\modules\apartments\views\backend\_form.php after

Code: Select all
if($videoHtml){
foreach(
$videoHtml as $key => $value){

add
Code: Select all
if (!$value) {
    $value = '';
}