
Keep on getting this error on my website. I can't seem to find why jsp help pls

Section of code
Code
if($output)
{
$in_redirect_endpoint = false;
$redirect_endpoints = ['preregister', 'banned', 'account/terms', 'account/settings', 'account/login', 'account/logout'];
foreach ($redirect_endpoints as $endpoint)
{
if(strpos($_SERVER['REQUEST_URI'], $endpoint) !== false)
{
$in_redirect_endpoint = true;
}
}
Line 33:
Code
$redirect_endpoints = ['preregister', 'banned', 'account/terms', 'account/settings', 'account/login', 'account/logout'];