【发布时间】:2018-09-15 11:42:33
【问题描述】:
我不断收到此错误,IDK php 我可以以某种方式替换整个文件吗?
致命错误:未捕获错误:调用 /home/campbel/public_html/wp-includes/functions.php:8580 中未定义的函数 get_template_directory() 堆栈跟踪:#0 /home/campbel/public_html/wp-settings.php (98): require() #1 /home/campbel/public_html/wp-config.php(91): require_once('/home/campbel/p...') #2 /home/campbel/public_html/wp- load.php(37): require_once('/home/campbel/p...') #3 /home/campbel/public_html/wp-blog-header.php(13): require_once('/home/campbel/p ...') #4 /home/campbel/public_html/index.php(17): require('/home/campbel/p...') #5 {main} 在 /home/campbel/public_html/wp 中抛出-includes/functions.php 在第 8580 行
【问题讨论】:
-
是的,我希望你可以,但如果这意味着你已经删除了预期存在的功能,则不能
-
我会重新安装 WordPress。这是一个核心功能。
标签: php wordpress error-handling