如果我的网站崩溃并出现以下错误,我将非常感谢您的帮助
致命错误:对未定义函数的调用是/home1/zesiku/public\\html/wp includes/post中的\\u user\\u logged\\u in()。php在线2160“
我已经检查了cpanel并看到以下内容。上面写着if ( \'readable\' == $perm && is_user_logged_in() ) {
是2160。如何操作:(((
function _count_posts_cache_key( $type = \'post\', $perm = \'\' ) {
$cache_key = \'posts-\' . $type;
if ( \'readable\' == $perm && is_user_logged_in() ) {
$post_type_object = get_post_type_object( $type );
if ( $post_type_object && ! current_user_can( $post_type_object->cap->read_private_posts ) ) {
$cache_key .= \'_\' . $perm . \'_\' . get_current_user_id();
}
}
return $cache_key;
}