点开留言版出错

用户 pp336111 6月前 509


Undefined property: stdClass::$post_cmt

可能的错误原因

请复制上方错误信息到搜索引擎以获取关于该错误的说明,或点击「使用必应搜索」。

如果您是访客,这说明网站程序可能出现了一些错误。请您稍后再试,或联系站长。

如果您是站长,可以「点击这里」查看 Z-Blog 官方对于【部分常见错误 】的说明,,以及「通用排查指南」
如果仍然无法解决,也可以到 Z-Blog 官方论坛,附上当前错误信息与描述寻求帮助。 注:请将"当前错误信息"复制进标题或正文中。

打开调试模式后

错误提示

错误信息

(2)E_WARNING : Undefined property: stdClass::$post_cmt (set_error_handler) (1.7.1.2995 (Tenet)) (Linux3.10.0; nginx1.20.1; PHP8.0.14x64; mysqli5.6.50; curl-o7.74.0; OpenSSL1.1.1l; memory_limit:128M; max_execution_time:300; upload_max_filesize:50M; post_max_size:50M)

文件位置

/www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/post-page.php
1<div id="topic">
2<nav id="path" class="kico-dao kico-gap"><a href="<?php echo $host; ?>"><?php echo $msg->home; ?></a> | <a><?php echo $title; ?></a></nav>
3<h1><?php echo $article->Title; ?></h1>
4<?php if (!$article->IsLock) { ?><p><a href="#cmts" class="more"><span class="zit"><?php if ($article->CommNums) { ?><?php echo $article->CommNums; ?><?php echo $msg->partake; ?><?php }else{ ?><?php echo $msg->sofa; ?><?php } ?></span><?php if ($cfg->GbookID===$article->ID) { ?><?php echo $msg->message; ?><?php }else{ ?><?php echo $msg->post_cmt; ?><?php } ?></a></p><?php } ?>
5</div>
6<main id="main">
7<article id="cont"><?php echo $article->Content; ?></article>
8<?php include $this->GetTemplate('comments'); ?>
9</main>
10<aside id="side">


最后于 6月前 被zx.asd编辑 ,原因:
最新回复 (3)
全部楼主
  • 用户 pp336111 6月前 0
    引用 2
    错误提示
    错误信息

    (2)E_WARNING : Undefined property: stdClass::$post_cmt (set_error_handler) (1.7.1.2995 (Tenet)) (Linux3.10.0; nginx1.20.1; PHP8.0.14x64; mysqli5.6.50; curl-o7.74.0; OpenSSL1.1.1l; memory_limit:128M; max_execution_time:300; upload_max_filesize:50M; post_max_size:50M)
    文件位置

    /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/post-page.php
    1        <div id="topic">
    2        <nav id="path" class="kico-dao kico-gap"><a href="<?php echo $host; ?>"><?php echo $msg->home; ?></a> | <a><?php echo $title; ?></a></nav>
    3        <h1><?php echo $article->Title; ?></h1>
    4        <?php if (!$article->IsLock) { ?><p><a href="#cmts" class="more"><span class="zit"><?php if ($article->CommNums) { ?><?php echo $article->CommNums; ?><?php echo $msg->partake; ?><?php }else{ ?><?php echo $msg->sofa; ?><?php } ?></span><?php if ($cfg->GbookID===$article->ID) { ?><?php echo $msg->message; ?><?php }else{ ?><?php echo $msg->post_cmt; ?><?php } ?></a></p><?php } ?>
    5        </div>
    6        <main id="main">
    7        <article id="cont"><?php echo $article->Content; ?></article>
    8        <?php include $this->GetTemplate('comments'); ?>
    9        </main>
    10        <aside id="side">
    堆栈跟踪

    4        /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/single.php
    ( 7 ) include(0 => /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/post-page.php,)
    <?php include $this->GetTemplate('post-page'); ?>
    5        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/template.php
    ( 711 ) include(0 => /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/single.php,)
    include $file;
    6        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_route.php
    ( 1509 ) Template->Display()
    $zbp->template->Display();
    7        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_route.php
    ( 309 ) ViewPost(0 => 2,)
    return call_user_func($function, $array);
    8        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_route.php
    ( 138 ) ViewAuto_Call_Auto(0 => Object,1 => Object,)
    $result = ViewAuto_Call_Auto($route, $array);
    9        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_route.php
    ( 533 ) ViewAuto()
    ViewAuto();
    10        /www/wwwroot/icmarketskaihu.net/blog/index.php
    ( 42 ) ViewIndex()
    ViewIndex();
    请求数据

    $%_GET = Array
    (
    )
    $%_POST = Array
    (
    )
    $%_COOKIE = Array
    (
        [timezone] => 8
        [addinfoblog] => {"chkadmin":1,"chkarticle":1,"levelname":"\u7ba1\u7406\u5458","userid":"1","useralias":"icmarkets"}
        [http304ok] => 1
        [qebak_loginlangid] => 1
        [wp-settings-time-1] => 1640423659
        [Hm_lvt_f68d6c996adb0a36ec8facb28edf41a0] => 1640526967,1640571019,1640670930,1640756051
        [Hm_lvt_668ba864a5ee126aba132df082775641] => 1640577612,1640670930,1640756051
        [Hm_lpvt_f68d6c996adb0a36ec8facb28edf41a0] => 1640769471
        [Hm_lpvt_668ba864a5ee126aba132df082775641] => 1640769472
    )
    引用文件

    0        /www/wwwroot/icmarketskaihu.net/blog/index.php
    1        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_base.php
    2        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_version.php
    3        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_compat.php
    4        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_plugin.php
    5        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_debug.php
    6        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_common.php
    7        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_function.php
    8        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_route.php
    9        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_event.php
    10        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/c_system_api.php
    11        /www/wwwroot/icmarketskaihu.net/blog/zb_system/defend/option.php
    12        /www/wwwroot/icmarketskaihu.net/blog/zb_users/c_option.php
    13        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/zblogphp.php
    14        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/dbsql.php
    15        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/config.php
    16        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/metas.php
    17        /www/wwwroot/icmarketskaihu.net/blog/zb_users/language/zh-cn.php
    18        /www/wwwroot/icmarketskaihu.net/blog/zb_system/defend/en.php
    19        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/database/mysqli.php
    20        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/database/interface.php
    21        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/sql/mysql.php
    22        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/sql/global.php
    23        /www/wwwroot/icmarketskaihu.net/blog/zb_system/defend/posttype_article.php
    24        /www/wwwroot/icmarketskaihu.net/blog/zb_system/defend/posttype_page.php
    25        /www/wwwroot/icmarketskaihu.net/blog/zb_system/defend/routes_post_article.php
    26        /www/wwwroot/icmarketskaihu.net/blog/zb_system/defend/routes_post_page.php
    27        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/app.php
    28        /www/wwwroot/icmarketskaihu.net/blog/zb_users/theme/Zit/include.php
    29        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/AppCentre/include.php
    30        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/UEditor/include.php
    31        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/Totoro/include.php
    32        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/LinksManage/include.php
    33        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/STACentre/include.php
    34        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/AdminColor/include.php
    35        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/Gravatar/include.php
    36        /www/wwwroot/icmarketskaihu.net/blog/zb_users/theme/Zit/language/zh-cn.php
    37        /www/wwwroot/icmarketskaihu.net/blog/zb_users/plugin/AppCentre/language/zh-cn.php
    38        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/member.php
    39        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/basemember.php
    40        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/base.php
    41        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/category.php
    42        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/module.php
    43        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/modulebuilder.php
    44        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/template.php
    45        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/urlrule.php
    46        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/post.php
    47        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/basepost.php
    48        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/pagebar.php
    49        /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/single.php
    50        /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/header.php
    51        /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/seo.php
    52        /www/wwwroot/icmarketskaihu.net/blog/zb_users/cache/compiled/Zit/post-page.php
    53        /www/wwwroot/icmarketskaihu.net/blog/zb_system/defend/error.php
    54        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/xsshtml.php
    55        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/network.php
    56        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/network/curl.php
    57        /www/wwwroot/icmarketskaihu.net/blog/zb_system/function/lib/network/interface.php
  • 用户 pp336111 6月前 0
    引用 3
    顶上去
  • 用户 pp336111 6月前 0
    引用 4
    谢谢,更新一下,解决了
    • ZBlogger技术交流中心
      5
          
返回