Errors of the version 1.21.1

Write about issues that you have found.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Errors of the version 1.21.1

Postby support » 17 Sep 2017, 11:22

Errors of the version 1.21.1
Last edited by support on 22 Oct 2017, 11:59, edited 1 time in total.
support
Citizen
Citizen
 
Posts: 136
Joined: 28 Dec 2011, 13:14
Reputation point: 0

Re: Errors of the version 1.21.1

Postby Foton » 17 Oct 2017, 15:01

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 = '';
}
Foton
Web Developer
Web Developer
 
Posts: 117
Joined: 26 Jan 2012, 14:58
Reputation point: 1


Return to Issues

Who is online

Users browsing this forum: No registered users and 11 guests

cron