NOTICE: Trying to access array offset on value of type bool in /www/wwwroot/novel.phoenixfm.com/protected/controller/BookController.php on line 109

539.      $msg "ERROR";
540.      if($errno == E_WARNING)$msg "WARNING";
541.      if($errno == E_NOTICE)$msg "NOTICE";
542.      if($errno == E_STRICT)$msg "STRICT";
543.      if($errno == 8192)$msg "DEPRECATED";
544.      err("$msg$errstr in $errfile on line $errline");
545.  }
546.  function err($msg){
547.      $msg htmlspecialchars($msg);
548.      $traces debug_backtrace();
549.      if(!empty($GLOBALS['err_handler'])){
104.              $redisObj->set($cacheKey,json_encode($bookDetail),60*60*24);
105.          }else{
106.              $bookDetail json_decode($redisData,true);
107.          }
108.          $this->book $bookDetail;
109.          $this->title $bookDetail["book_name"]."-".$bookDetail["author_name"]."-小说推荐";
110.          $this->keywords $bookDetail["book_name"].",官方首发,".$bookDetail["book_name"]."小说,".$bookDetail["book_name"]."最新章节".$bookDetail["book_name"]."txt下载,".$bookDetail["book_name"]."无弹窗,".$bookDetail["book_name"]."吧,".$bookDetail["book_name"]."离线完本'";
111.          $this->description "".$bookDetail["book_name"].",".$bookDetail["book_name"]."小说阅读,".$bookDetail["book_name"]."由作家".$bookDetail["author_name"]."创作,小说推荐提供".$bookDetail["book_name"]."介绍描述,帮助您快速找到资源。";
112.          // $this->display("book_indexList.html");
113.          $this->bookIndexCount $this->queryIndexCount($bookId);
114.          $this->bookIndexList $this->queryIndexList($bookId,1,null);
111.      // exit;
112.  };
113.  if(!method_exists($controller_name$action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
114. 
115.  $controller_obj = new $controller_name();
116.  $controller_obj->$action_name();
117. 
118.  if($controller_obj->_auto_display){
119.      $auto_tpl_name = (empty($__module) ? '' $__module.DS).$__controller.'_'.$__action.'.html';
120.      if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
121.  }
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');