NOTICE: Trying to access array offset on value of type bool in /www/wwwroot/test.com/protected/controller/pc/MainController.php on line 833
- /www/wwwroot/test.com/protected/lib/speed.php on line 524
519.
$msg = "ERROR";
520.
if($errno == E_WARNING)$msg = "WARNING";
521.
if($errno == E_NOTICE)$msg = "NOTICE";
522.
if($errno == E_STRICT)$msg = "STRICT";
523.
if($errno == 8192)$msg = "DEPRECATED";
524.
525.
err("$msg: $errstr in $errfile on line $errline");
}
526.
function err($msg){
527.
$msg = htmlspecialchars($msg);
528.
$traces = debug_backtrace();
529.
if(!empty($GLOBALS['err_handler'])){
- /www/wwwroot/test.com/protected/controller/pc/MainController.php on line 833
828.
$QtLikes = new QtLikes();
829.
$QtComments = new QtComments();
830.
$qcc = $QtComments->findCount(array("item_id"=>$record["id"]));
831.
$qfc = $QtFavorites->findCount(array("item_id"=>$record["id"]));
832.
$qlc = $QtLikes->findCount(array("item_id"=>$record["id"]));
833.
834.
$isfc = $QtFavorites->findCount(array("item_id"=>$record["id"],"user_id"=>$this->user["id"]));
$iscc = $QtComments->findCount(array("item_id"=>$record["id"],"user_id"=>$this->user["id"]));
835.
$islc = $QtLikes->findCount(array("item_id"=>$record["id"],"user_id"=>$this->user["userId"]));
836.
$record["qfc"] = $qfc;
837.
$record["qcc"] = $qcc;
838.
$record["qlc"] = $qlc;
- /www/wwwroot/test.com/protected/lib/speed.php on line 96
91.
exit;
92.
};
93.
if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
94.
95.
$controller_obj = new $controller_name();
96.
97.
$controller_obj->$action_name();
98.
if($controller_obj->_auto_display){
99.
$auto_tpl_name = (empty($__module) ? '' : $__module.DS).$__controller.'_'.$__action.'.html';
100.
if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
101.
}
- /www/wwwroot/test.com/index.php on line 8
3.
header('Access-Control-Allow-Origin: *');
4.
header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
5.
header('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With');
6.
define('APP_DIR', realpath('./'));
7.
define("APP_PATH",dirname(__FILE__));
8.
require(APP_DIR.'/protected/lib/speed.php');