Code: 8
Msg: Undefined index: views
Trace:
#0 /home/yaf-haijiao/web/application/models/Contents.php(527): Bootstrap::error_handError(8, 'Undefined index...', '/home/yaf-haiji...', 527, Array) #1 /home/yaf-haijiao/web/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(620): ContentsModel->getViewAttribute(0) #2 /home/yaf-haijiao/web/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(1991): Illuminate\Database\Eloquent\Model->mutateAttribute('view', 0) #3 /home/yaf-haijiao/web/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(451): Illuminate\Database\Eloquent\Model->transformModelValue('view', 0) #4 /home/yaf-haijiao/web/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(430): Illuminate\Database\Eloquent\Model->getAttributeValue('view') #5 /home/yaf-haijiao/web/vendor/illuminate/database/Eloquent/Model.php(2053): Illuminate\Database\Eloquent\Model->getAttribute('view') #6 /home/yaf-haijiao/web/vendor/illuminate/collections/Arr.php(169): Illuminate\Database\Eloquent\Model->offsetExists('view') #7 /home/yaf-haijiao/web/vendor/illuminate/collections/helpers.php(74): Illuminate\Support\Arr::exists(Object(ContentsModel), 'view') #8 /home/yaf-haijiao/web/vendor/illuminate/collections/Traits/EnumeratesValues.php(1075): data_get(Object(ContentsModel), Array) #9 /home/yaf-haijiao/web/vendor/illuminate/collections/Traits/EnumeratesValues.php(402): Illuminate\Support\Collection->Illuminate\Support\Traits\{closure}(Object(ContentsModel)) #10 /home/yaf-haijiao/web/vendor/illuminate/collections/Traits/EnumeratesValues.php(768): Illuminate\Support\Collection->Illuminate\Support\Traits\{closure}(NULL, Object(ContentsModel), 0) #11 /home/yaf-haijiao/web/vendor/illuminate/collections/Traits/EnumeratesValues.php(405): Illuminate\Support\Collection->reduce(Object(Closure)) #12 /home/yaf-haijiao/web/application/modules/Home/controllers/Authors.php(94): Illuminate\Support\Collection->max(Object(Closure)) #13 /home/yaf-haijiao/web/vendor/tb-old/library/function.php(499): AuthorsController->{closure}() #14 /home/yaf-haijiao/web/vendor/tb-old/library/function.php(499): Closure->__invoke() #15 /home/yaf-haijiao/web/vendor/tb-old/library/function.php(503): {closure}() #16 /home/yaf-haijiao/web/vendor/tb-old/library/src/Library/LibYac.php(218): lib_value(Object(Closure)) #17 [internal function]: Tbold\Library\LibYac->Tbold\Library\{closure}() #18 /home/yaf-haijiao/web/vendor/tb-old/library/src/Library/LibYac.php(242): call_user_func(Object(Closure)) #19 [internal function]: Tbold\Library\LibYac->Tbold\Library\{closure}() #20 /home/yaf-haijiao/web/vendor/tb-old/library/src/Lock/Impl/YacLockImpl.php(49): call_user_func(Object(Closure)) #21 /home/yaf-haijiao/web/vendor/tb-old/library/src/Lock/LockManager.php(47): Tbold\Lock\Impl\YacLockImpl->lock('author:posts:15...', Object(Closure), 30) #22 /home/yaf-haijiao/web/vendor/tb-old/library/src/Library/LibYac.php(245): Tbold\Lock\LockManager->lock('author:posts:15...', Object(Closure)) #23 /home/yaf-haijiao/web/application/modules/Home/controllers/Authors.php(96): Tbold\Library\LibYac->fetch('author:posts:15...', Object(Closure), 1800) #24 [internal function]: AuthorsController->listAction() #25 /home/yaf-haijiao/web/public/index.php(26): Yaf\Application->run() #26 {main}