Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_get_post_parent_id(), 0 passed in /www/wwwroot/hingeblog.cn/wp-content/themes/thbusiness/attachment.php on line 7 and exactly 1 expected in /www/wwwroot/hingeblog.cn/wp-includes/post.php:6932
Stack trace:
#0 /www/wwwroot/hingeblog.cn/wp-content/themes/thbusiness/attachment.php(7): wp_get_post_parent_id()
#1 /www/wwwroot/hingeblog.cn/wp-content/themes/thbusiness/attachment.php(15): Bing_disable_attachment_pages()
#2 /www/wwwroot/hingeblog.cn/wp-includes/template-loader.php(98): include('/www/wwwroot/hi...')
#3 /www/wwwroot/hingeblog.cn/wp-blog-header.php(19): require_once('/www/wwwroot/hi...')
#4 /www/wwwroot/hingeblog.cn/index.php(17): require('/www/wwwroot/hi...')
#5 {main}
thrown in /www/wwwroot/hingeblog.cn/wp-includes/post.php on line 6932
WordPress › 错误