Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 致命错误:未捕获错误:调用未定义的函数get\u post\u datetime()_Php_Wordpress_Xampp - Fatal编程技术网

Php 致命错误:未捕获错误:调用未定义的函数get\u post\u datetime()

Php 致命错误:未捕获错误:调用未定义的函数get\u post\u datetime(),php,wordpress,xampp,Php,Wordpress,Xampp,当我试图打开文章时,它显示以下错误: Fatal error: Uncaught Error: Call to undefined function get_post_datetime() in C:\xampp\htdocs\wp-content\plugins\td-cloud-library\state\single\tdb_state_single.php:1666 Stack trace: #0 C:\xampp\htdocs\wp-content\plugins\td-cloud-

当我试图打开文章时,它显示以下错误:

Fatal error: Uncaught Error: Call to undefined function get_post_datetime() in C:\xampp\htdocs\wp-content\plugins\td-cloud-library\state\single\tdb_state_single.php:1666 Stack trace: 
#0 C:\xampp\htdocs\wp-content\plugins\td-cloud-library\wp_templates\tdb_view_single.php(89): tdb_state_single->{closure}() 
#1 C:\xampp\htdocs\wp-content\plugins\td-cloud-library\wp_templates\tdb_view_single.php(89): Closure->__invoke() 
#2 C:\xampp\htdocs\wp-includes\template-loader.php(78): include('C:\\xampp\\htdocs...') 
#3 C:\xampp\htdocs\wp-blog-header.php(19): require_once('C:\\xampp\\htdocs...') 
#4 C:\xampp\htdocs\index.php(17): require('C:\\xampp\\htdocs...') 
#5 {main} thrown in C:\xampp\htdocs\wp-content\plugins\td-cloud-library\state\single\tdb_state_single.php on line 1666
有人知道这个问题吗?

get\u post\u datetime()
是在WordPress 5.3版中引入的。您需要更新到该版本以更正所看到的错误


请显示代码。$td\u article\u date\u unix=get\u post\u datetime($post,'date,'gmt')$巴菲;这是1666行欢迎来到SO John!请你澄清一下你正在尝试做什么,以及你到目前为止为解决这个问题做了什么。代码示例总是有用的。对于wordpress,请提供您正在使用的版本的详细信息以及您添加的任何自定义内容。谢谢您,BA_Webimax忘记了我删除了更新,非常感谢