Ошибка « MODx Parse Error » MODx encountered the following error while attempting to parse the requested resource: « « is not numeric and may not be passed to makeUrl() »

Если у возникла следующая ошибка в модуле EvoGallery:
« MODx Parse Error » MODx encountered the following error while attempting to parse the requested resource: « « is not numeric and may not be passed to makeUrl() »

Как исправить:

В файле evogallery/classes/maketable.class.inc.php строчку 437 изменить на:

$link= empty($link)? ‘/manager/index.php?a=’.intval($_REQUEST[‘id’]).’&id=’.intval($_REQUEST[‘id’]).’page=$pageNum$orderBy$orderDir’: $this->prepareLink($link). «page=$pageNum»;

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *