[0] ThrowableError in Cardadmin.php line 83

致命错误: Call to a member function combine() on null

  1. ->order('id', 'desc')
  2. ->paginate($pagesize, false, ['type' => '\\addons\\cms\\library\\Bootstrap', 'var_page' => 'page', 'fragment' => '']);
  3. $this->view->assign('archivesList', $archivesList);
  4. $this->view->assign('__PAGELIST__', $archivesList);
  5. }
  6. //获取当前访问卡片所属用户加入的社群信息 将社群信息整合
  7. $companyllist = \app\admin\model\businesscard\CompanyUser::with('bscompany')->where('user_id', $uid)->select();
  8. $this->assign('companyllist', $companyllist);//展示名片者的ask用户数据
  9. //已经登录
  10. $user = \addons\ask\model\User::get($uid)->combine();
  11. $loginuser=[];
  12. if ($this->auth->id) {
  13. //是否为本人
  14. if ($uid == $this->auth->id) {
  15. $loginuser = \addons\ask\model\User::get($this->auth->id);//->combine();
  16. } else {
  17. $loginuser = \addons\ask\model\User::get($this->auth->id);//->combine();
  18. $follow = Attention::check('user', $uid);
  19. if ($follow) {

Call Stack

  1. in Cardadmin.php line 83
  2. at Cardadmin->cardshow()
  3. at call_user_func_array([object(Cardadmin), 'cardshow'], []) in Route.php line 76
  4. at Route->execute('businesscard', 'cardadmin', 'cardshow')
  5. at ReflectionMethod->invokeArgs(object(Route), ['businesscard', 'cardadmin', 'cardshow']) in App.php line 343
  6. at App::invokeMethod(['\think\addons\Route', 'execute'], ['id' => null, 'addon' => 'businesscard', 'controller' => 'cardadmin', ...]) in App.php line 470
  7. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'businesscard', 'controller' => 'cardadmin', 'action' => 'cardshow']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/www/wwwroot/huashen...') in index.php line 24

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
huasheng.us
PATH_INFO
/card/
REDIRECT_STATUS
200
SERVER_NAME
huasheng.us
SERVER_PORT
443
SERVER_ADDR
104.168.218.44
REMOTE_PORT
48714
REMOTE_ADDR
3.234.177.119
SERVER_SOFTWARE
nginx/1.17.10
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/huasheng.us/public
DOCUMENT_URI
/index.php
REQUEST_URI
/card/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/card/
SCRIPT_FILENAME
/www/wwwroot/huasheng.us/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711624785.2606
REQUEST_TIME
1711624785
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/huasheng.us/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711624785.2613
THINK_START_MEM
408952
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/huasheng.us/thinkphp/
LIB_PATH
/www/wwwroot/huasheng.us/thinkphp/library/
CORE_PATH
/www/wwwroot/huasheng.us/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/huasheng.us/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/huasheng.us/
EXTEND_PATH
/www/wwwroot/huasheng.us/extend/
VENDOR_PATH
/www/wwwroot/huasheng.us/vendor/
RUNTIME_PATH
/www/wwwroot/huasheng.us/runtime/
LOG_PATH
/www/wwwroot/huasheng.us/runtime/log/
CACHE_PATH
/www/wwwroot/huasheng.us/runtime/cache/
TEMP_PATH
/www/wwwroot/huasheng.us/runtime/temp/
CONF_PATH
/www/wwwroot/huasheng.us/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/huasheng.us/vendor/ezyang/htmlpurifier/library
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/huasheng.us/addons/