HTTP ERROR 500
是您的代码错误。
如日志所示:
[15-Nov-2017 17:47:35 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:47:54 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:48:11 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:48:14 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:48:16 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:48:17 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:48:19 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:48:20 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
[15-Nov-2017 17:48:22 UTC] PHP Parse error: syntax error, unexpected \'<\' in /home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php on line 280
您的
/home/igts160XXXXX1/public_html/wp-content/themes/theme2/functions.php
并强迫
HTTPS ERROR 500
显示。
您没有在上包含错误line 280
在您的error.log
所以我无法确定真正的错误是什么。但是有sample functions.php
在谷歌和互联网上随处可见。
如果您可以使用错误本身或函数中的代码行更新问题,我可以帮助您。
您可以使用define( \'WP_DEBUG\', true );
在您的public_html
轻松发现错误并在完成时变为false。在你的wp-config.php
使用SFTP归档,并确保值为true
.