:(
Call to a member function where() on null
File:
File:/www/wwwroot/www.houdunwang.com/addons/houdunren/model/Video.php Line:157
Trace
Error: Call to a member function where() on null in /www/wwwroot/www.houdunwang.com/addons/houdunren/model/Video.php:157
Stack trace:
#0 /www/wwwroot/www.houdunwang.com/addons/houdunren/model/Video.php(65): addons\houdunren\model\Video->updateClick(0)
#1 /www/wwwroot/www.houdunwang.com/addons/houdunren/controller/Entry.php(116): addons\houdunren\model\Video->getVideo(0)
#2 [internal function]: addons\houdunren\controller\Entry->video(Object(addons\houdunren\model\Video))
#3 /www/wwwroot/www.houdunwang.com/vendor/houdunwang/container/src/build/Base.php(132): ReflectionMethod->invokeArgs(Object(addons\houdunren\controller\Entry), Array)
#4 [internal function]: houdunwang\container\build\Base->callMethod('addons\\houdunre...', 'video')
#5 /www/wwwroot/www.houdunwang.com/vendor/houdunwang/framework/src/build/Facade.php(51): call_user_func_array(Array, Array)
#6 /www/wwwroot/www.houdunwang.com/app/site/controller/Entry.php(94): houdunwang\framework\build\Facade::__callStatic('callMethod', Array)
#7 /www/wwwroot/www.houdunwang.com/app/site/controller/Entry.php(80): app\site\controller\Entry->action()
#8 [internal function]: app\site\controller\Entry->moduleRoute()
#9 /www/wwwroot/www.houdunwang.com/vendor/houdunwang/route/src/build/Controller.php(108): ReflectionMethod->invokeArgs(Object(app\site\controller\Entry), Array)
#10 /www/wwwroot/www.houdunwang.com/vendor/houdunwang/route/src/build/Compile.php(157): houdunwang\route\build\Base->executeControllerAction('moduleRoute')
#11 /www/wwwroot/www.houdunwang.com/vendor/houdunwang/framework/src/build/Bootstrap.php(35): houdunwang\route\build\Base->exec()
#12 /www/wwwroot/www.houdunwang.com/vendor/houdunwang/framework/src/build/Base.php(47): houdunwang\framework\build\Base->runApp()
#13 [internal function]: houdunwang\framework\build\Base->bootstrap()
#14 /www/wwwroot/www.houdunwang.com/vendor/houdunwang/framework/src/App.php(35): call_user_func_array(Array, Array)
#15 /www/wwwroot/www.houdunwang.com/system/hdphp.php(7): houdunwang\framework\App::__callStatic('bootstrap', Array)
#16 /www/wwwroot/www.houdunwang.com/index.php(12): require('/www/wwwroot/ww...')
#17 {main}