Fatal error: Uncaught Error: Call to undefined function get_post_datetime()
Fatal error: Uncaught Error: Call to undefined function get_post_datetime()
当我尝试打开文章时显示以下错误:
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_post_datetime()
是在 WordPress 5.3 版本中引入的。您需要更新到该版本才能更正您看到的错误。
https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/
当我尝试打开文章时显示以下错误:
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_post_datetime()
是在 WordPress 5.3 版本中引入的。您需要更新到该版本才能更正您看到的错误。
https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/