我在我WordPress网站上得到致命错误,
Fatal error: Uncaught Error: Call to undefined function add_theme_support() in /home/globalunairac/public_html/wp-includes/block-patterns.php:9 Stack trace: #0 /home/globalunairac/public_html/wp-settings.php(320): require() #1 /home/globalunairac/public_html/wp-config.php(97): require_once('/home/globaluna...') #2 /home/globalunairac/public_html/wp-load.php(50): require_once('/home/globaluna...') #3 /home/globalunairac/public_html/wp-blog-header.php(13): require_once('/home/globaluna...') #4 /home/globalunairac/public_html/index.php(17): require('/home/globaluna...') #5 {main} thrown in /home/globalunairac/public_html/wp-includes/block-patterns.php on line 9
Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/globalunairac/public_html/wp-includes/functions.php on line 5833
Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/globalunairac/public_html/wp-includes/functions.php on line 5833
There has been a critical error on this website.
这个问题的解决方案是什么?我试图重命名主题和插件文件夹,仍然没有工作
我试图重命名主题和插件文件夹,仍然没有工作
1条答案
按热度按时间avwztpqn1#
请完成以下步骤:
1.进入插件设置页面;
1.打开“自定义代码”选项卡,在“PHP”部分中选中“激活自定义PHP代码”复选框,然后插入以下代码:
1.保存更改。