syntax error, unexpected end of file
Permalink Browser Info Environment
I am getting a php error which I think relates to view.php search block in theme.. I'm not sure if the view.php has somehow gotten truncated - is there a way to reinstall the theme without losing any settings? or can I just download the view.php from somewhere?
The error message is:
Whoops \ Exception \ ErrorException (E_PARSE)
syntax error, unexpected end of file
Stack frames (1)
0
Whoops\Exception\ErrorException
/var/www/paedsportal.com/public_html/packages/fundamental/blocks/search/templates/fundamental/view.php64
"/var/www/paedsportal.com/public_html/packages/fundamental/blocks/search/templates/fundamental/view.php
</p>
</div>
<?php }//foreach search result ?>
</div>
<?php
//$pagination = $searchList->getPagination();
$pages = $pagination->getCurrentPageResults();
if ($pagination->getTotalPages() > 1 && $pagination->haveToPaginate()) {
$showPagination = true;
echo $pagination->renderDefaultView();
}
} //results found
}
?>
</form>
The error message is:
Whoops \ Exception \ ErrorException (E_PARSE)
syntax error, unexpected end of file
Stack frames (1)
0
Whoops\Exception\ErrorException
/var/www/paedsportal.com/public_html/packages/fundamental/blocks/search/templates/fundamental/view.php64
"/var/www/paedsportal.com/public_html/packages/fundamental/blocks/search/templates/fundamental/view.php
</p>
</div>
<?php }//foreach search result ?>
</div>
<?php
//$pagination = $searchList->getPagination();
$pages = $pagination->getCurrentPageResults();
if ($pagination->getTotalPages() > 1 && $pagination->haveToPaginate()) {
$showPagination = true;
echo $pagination->renderDefaultView();
}
} //results found
}
?>
</form>
Type: | Ticket |
---|---|
Status: | Archived |
Once 8.2 is released we will go through the code to check it is up to date.