To fix this in include/class/class_check.php replace the current function get_access with
PHP Code:
function get_access($script) {
global $mc1;
$ending = parse_url($script, PHP_URL_QUERY);
$count = substr_count($ending, "&");
$i = 0;
while ($i <= $count) {
if (strpos($ending, "&")){
$ending = substr( $ending, 0, strrpos( $ending, "&"));
}
$i++;
}
if (($class = $mc1 ->get_value('av_class_'.$ending)) == false) {
$classid = sql_query("SELECT av_class FROM staffpanel WHERE file_name LIKE '%$ending%'") or sqlerr(__file__,__line__);
$classid = mysqli_fetch_assoc($classid);
$class = (int)$classid['av_class'];
$mc1->cache_value('av_class_' . $ending, $class, 900); //== test values 15 minutes to 0 once delete key in place //==
}
return $class;
}