Notice: Trying to access array offset on value of type null in /data/webroot/qwg/read/apps/models/Book.php on line 78

Fatal error: Uncaught TypeError: Argument 1 passed to App\Component\Collection\Json\Item::__construct() must be of the type array, null given, called in /data/webroot/qwg/read/apps/models/Book.php on line 78 and defined in /data/webroot/qwg/read/apps/components/Collection/Json/Item.php:9 Stack trace: #0 /data/webroot/qwg/read/apps/models/Book.php(78): App\Component\Collection\Json\Item->__construct(NULL) #1 /data/webroot/qwg/read/apps/controllers/ChaptersController.php(31): App\Model\Book->findById('%E7%BB%9D%E5%93...') #2 [internal function]: App\Controller\ChaptersController->viewAction('63ecdfeb22549da...', '%E7%BB%9D%E5%93...') #3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(App\Controller\ChaptersController), 'viewAction', Array) #4 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #5 /data/webroot/qwg/read/public/index.php(95): Phalcon\Mvc\Application->handle('/chapters/view/...') #6 {main} thrown in /data/webroot/qwg/read/apps/components/Collection/Json/Item.php on line 9