errorexception
Нелегальный тип смещения в isset или пустые (просмотр: модули \ spective \ frontend \ blocks \ list-location \ loop.blade.php) < /p>
< /p>
< /p>
illuminate \ foundation \ bootstrap \ harderexceptions :: handleerror
modules \location \Models\location.php:62
< /blockquote>
код: < /p>
Код: Выделить всё
public function getDisplayNumberServiceInLocation($service_type)
{
$allServices = get_bookable_services();
if (empty($allServices[$service_type]))
return false;
$module = new $allServices[$service_type];
return $module->getNumberServiceInLocation($this);
}
modules/location/views/frontend/blocks/list-locations/loop.blade.php:7
код:
Код: Выделить всё
$translation = $row->translateOrOrigin(app()->getLocale());
$link_location = false;
if (is_string($service_type)) {
$link_location = $row->getLinkForPageSearch($service_type);
}
Подробнее здесь: https://stackoverflow.com/questions/773 ... t-or-empty