The following error i have received is
Warning: array_key_exists() expects parameter 2 to be array,
null given in /home/*****/public_html/class/alerts.php on line 14
On line 14 in class/alerts.php i see the following line
if(!array_key_exists('flash_messages', $_SESSION)) $_SESSION['flash_messages'] = array();
I’m using the problem is inside $_SESSION but i’m not sure
This error is suggesting that
$_SESSIONis null. This could be caused by not callingsession_start()or perhaps the browser not accepting cookies.