• [8] ErrorException in 4b1a7bcad779f431f68174f9add56e0a.phphtml line 164

    Trying to get property of non-object

    1. <p> <span>邮件:</span><?php echo $gongsi->youxiang; ?> </p>
    2. <p> <span>电话:</span><?php echo $gongsi->dianhua; ?></p>
    3. <p> <span>地址:</span><?php echo $gongsi->dizhi; ?> </p>
    4. </div>
    5. </div>
    6. </div>
    7. <div class="right">
    8. <div class="plc"> <span class=""><span>当前位置:</span><a rel="nofollow" href="//hytetech.com/imagespage/http://localhost/">主页</a> > <a href='//hytetech.com/imagespage/http://localhost/'>荣誉证书</a> > <?php echo $gongchenganlis->name; ?></span> </div>
    9. <div class="righttop"> </div>
    10. <div class="right_main">
    11. <div class="agent_con">
    12. <div class="age_li_about">
    13. <p style="TEXT-ALIGN: center; LINE-HEIGHT: 2em; MARGIN-BOTTOM: 10px"><span style="COLOR: rgb(0,112,192)"><strong><span style="FONT-SIZE: 16px"><?php echo $gongchenganlis->name; ?></span></strong></span></p>
    14. <div class="info_con_tit">
    15. <div class="n_tit">
    16. <span>文章出处:admin</span>
    17. <span>人气:<span

    Call Stack

    1. in 4b1a7bcad779f431f68174f9add56e0a.phphtml line 164
    2. at Error::appError(8, 'Trying to get proper...', '/www/wwwroot/www.dzy...', 164, ['cacheFile' => '/www/wwwroot/www.dzy...', 'vars' => ['daohangs' => [object(Daohang), object(Daohang), object(Daohang), ...], 'flashs' => [object(Huandengpian), object(Huandengpian), object(Huandengpian)], 'gongsi' =>object(Gongsi), ...], 'daohangs' => [object(Daohang), object(Daohang), object(Daohang), ...], ...]) in 4b1a7bcad779f431f68174f9add56e0a.phphtml line 164
    3. at include('/www/wwwroot/www.dzy...') in File.phphtml line 53
    4. at File->read('/www/wwwroot/www.dzy...', ['daohangs' => [object(Daohang), object(Daohang), object(Daohang), ...], 'flashs' => [object(Huandengpian), object(Huandengpian), object(Huandengpian)], 'gongsi' =>object(Gongsi), ...]) in Template.phphtml line 188
    5. at Template->fetch('/www/wwwroot/www.dzy...', ['daohangs' => [object(Daohang), object(Daohang), object(Daohang), ...], 'flashs' => [object(Huandengpian), object(Huandengpian), object(Huandengpian)], 'gongsi' =>object(Gongsi), ...], []) in Think.phphtml line 86
    6. at Think->fetch('/www/wwwroot/www.dzy...', ['daohangs' => [object(Daohang), object(Daohang), object(Daohang), ...], 'flashs' => [object(Huandengpian), object(Huandengpian), object(Huandengpian)], 'gongsi' =>object(Gongsi), ...], []) in View.phphtml line 163
    7. at View->fetch('', ['daohangs' => [object(Daohang), object(Daohang), object(Daohang), ...], 'flashs' => [object(Huandengpian), object(Huandengpian), object(Huandengpian)], 'gongsi' =>object(Gongsi), ...], ['__ROOT__' => '/public', '__URL__' => '/public/index.phphtml/in...', '__STATIC__' => '/public/static', ...], []) in Controller.phphtml line 120
    8. at Controller->fetch('', ['gongchenganlis' =>null]) in Gongchenganli.phphtml line 21
    9. at Gongchenganli->gongchenganlis('55')
    10. at ReflectionMethod->invokeArgs(object(Gongchenganli), ['55']) in App.phphtml line 343
    11. at App::invokeMethod([object(Gongchenganli), 'gongchenganlis'], []) in App.phphtml line 606
    12. at App::module(['index', 'gongchenganli', 'gongchenganlis'], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>true, ...], true) in App.phphtml line 456
    13. at App::exec(['type' => 'module', 'module' => ['index', 'gongchenganli', 'gongchenganlis']], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>true, ...]) in App.phphtml line 139
    14. at App::run() in start.phphtml line 19
    15. at require('/www/wwwroot/www.dzy...') in index.phphtml line 17

    Environment Variables

    GET Data

    id
    55
    POST Data
    empty
    Files
    empty
    Cookies
    empty
    Session
    empty

    Server/Request Data

    USER
    www
    HOME
    /home/www
    HTTP_USER_AGENT
    Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
    HTTP_ACCEPT
    */*
    HTTP_HOST
    www.hytetech.com
    PATH_INFO
    /index/gongchenganli/gongchenganlis.html
    REDIRECT_STATUS
    200
    SERVER_NAME
    www.hytetech.com
    SERVER_PORT
    80
    SERVER_ADDR
    172.17.185.85
    REMOTE_PORT
    58632
    REMOTE_ADDR
    23.248.242.74
    SERVER_SOFTWARE
    nginx/1.8.1
    GATEWAY_INTERFACE
    CGI/1.1
    SERVER_PROTOCOL
    HTTP/1.1
    DOCUMENT_ROOT
    /www/wwwroot/www.hytetech.com
    DOCUMENT_URI
    /public/index.phphtml/index/gongchenganli/gongchenganlis.html
    REQUEST_URI
    /public/index.phphtml/index/gongchenganli/gongchenganlis.html?id=55
    SCRIPT_NAME
    /public/index.phphtml
    CONTENT_LENGTH
    CONTENT_TYPE
    REQUEST_METHOD
    GET
    QUERY_STRING
    id=55
    SCRIPT_FILENAME
    /www/wwwroot/www.hytetech.com/public/index.phphtml
    FCGI_ROLE
    RESPONDER
    PHP_SELF
    /public/index.phphtml/index/gongchenganli/gongchenganlis.html
    REQUEST_TIME_FLOAT
    1563799599.9072
    REQUEST_TIME
    1563799599
    Environment Variables
    empty

    ThinkPHP Constants

    APP_PATH
    /www/wwwroot/www.hytetech.com/public/../application/
    THINK_VERSION
    5.0.20
    THINK_START_TIME
    1563799599.9076
    THINK_START_MEM
    375512
    EXT
    .phphtml
    DS
    /
    THINK_PATH
    /www/wwwroot/www.hytetech.com/thinkphp/
    LIB_PATH
    /www/wwwroot/www.hytetech.com/thinkphp/library/
    CORE_PATH
    /www/wwwroot/www.hytetech.com/thinkphp/library/think/
    TRAIT_PATH
    /www/wwwroot/www.hytetech.com/thinkphp/library/traits/
    ROOT_PATH
    /www/wwwroot/www.hytetech.com/
    EXTEND_PATH
    /www/wwwroot/www.hytetech.com/extend/
    VENDOR_PATH
    /www/wwwroot/www.hytetech.com/vendor/
    RUNTIME_PATH
    /www/wwwroot/www.hytetech.com/runtime/
    LOG_PATH
    /www/wwwroot/www.hytetech.com/runtime/log/
    CACHE_PATH
    /www/wwwroot/www.hytetech.com/runtime/cache/
    TEMP_PATH
    /www/wwwroot/www.hytetech.com/runtime/temp/
    CONF_PATH
    /www/wwwroot/www.hytetech.com/public/../application/
    CONF_EXT
    .phphtml
    ENV_PREFIX
    PHP_
    IS_CLI
    false
    IS_WIN
    false
    0.131180s