大熊

WPJAM Basic 更新到3.6.1版本后,文章下的评论列表报错

大熊 - 6月5号

错误内容:
Fatal error: Uncaught Error: Call to undefined function is_avatar_comment_type() in /wp-content/plugins/wpjam-basic/public/wpjam-hooks.php:394 Stack trace: #0 /wp-includes/class-wp-hook.php(286): {closure}(Array, Object(WP_Comment)) #1 /wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /wp-includes/link-template.php(3873): apply_filters('pre_get_avatar_...', Array, Object(WP_Comment)) #3 /wp-includes/link-template.php(3759): get_avatar_data(Object(WP_Comment), Array) #4 /wp-includes/pluggable.php(2508): get_avatar_url(Object(WP_Comment), Array) #5 /wp-includes/class-walker-comment.php(322): get_avatar(Object(WP_Comment), 32) #6 /wp-includes/class-walker-comment.php(185): Walker_Comment->html5_comment(Object(WP_Comment), 1, Array) #7 /wp-includes/class-wp-walker.php(145): Walker_Comment->star in /wp-content/plugins/wpjam-basic/public/wpjam-hooks.php on line 394

3条回复

Denis | 邓鸿华
Denis | 邓鸿华 - 6月5号

升级wp到5.1以上吧,或者等等我发个新版

Denis | 邓鸿华
Denis | 邓鸿华 - 6月5号

更新到 3.6.2,去掉该函数。

大熊
大熊 - 6月5号

好的 3q 真及时

我要回复

暂时不支持网页回复,请安装 WPJAM-Basic 插件,然后在 WordPress 后台即可参与讨论。