當我在imgshot的管理方面,我想從管理員註銷並點擊鏈接,退出我得到下一個錯誤的行Imgshot登出管理面板錯誤
Notice: Undefined index: user_id in /home/****/public_html/inc/functions.php on line 371
錯誤371是下一個
where `id`='$_SESSION[user_id]' OR `id` = '$_COOKIE[user_id]'") or die(mysql_error());
整個鏈接是下一個http://justpaste.it/dt75我該如何解決這個錯誤?