Elgg  Version 4.3
Variables
error.php File Reference

Go to the source code of this file.

Variables

if(elgg_get_context()== 'admin'&&elgg_is_admin_logged_in()) else
 Page shell for errors. More...
 

Variable Documentation

Initial value:
{
echo elgg_view('page/default', $vars)
$vars['breadcrumbs']
Definition: error.php:18
elgg echo
Translates a string.
Definition: deprecated.js:530
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179

Page shell for errors.

This is for errors that are not unhandled exceptions. Those are handled through the failsafe viewtype to guarantee that no further exceptions occur. An example error would be 404 (page not found).

$vars['head'] Parameters for the <head> element $vars['body'] The main content of the page $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()

Definition at line 16 of file error.php.