[英]My wordpress website occurred into a fatal error how can I solve it?
警告:需要(/home/gptradin/public_html/wp-content/themes/ecommerce-plusincludes/custom-header.php):无法打开 stream:/home/gptradin/public_html/wp-content/ 中没有这样的文件或目录主题/技术/功能.php 在第 78 行
致命错误:require():打开失败需要'/home/gptradin/public_html/wp-content/themes/ecommerce-plusincludes/custom-header.php'(include_path='.:/opt/cpanel/ea-php74/root /usr/share/pear') 在第 78 行的 /home/gptradin/public_html/wp-content/themes/techno/functions.php
我看不到我的网站,你能帮帮我吗?
在您的 Wordpress 安装中的文件 functions.php 的第 78 行,有代码根据需要指定文件 custom-header.php。 但是,当 wordpress 在以下目录中查找该文件时: /home/gptradin/public_html/wp-content/themes/ecommerce-plusincludes/
,它根本找不到它。
您需要找到文件custom-header.php在您的服务器中的位置,然后调整functions.php文件中第78行的代码以匹配该目录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.