最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

errors - I tried to build a theme from scratch and it crashed everything

programmeradmin1浏览0评论

Notice: Constant WP_CRON_LOCK_TIMEOUT already defined in /home3/premivu6/public_html/wp-config.php on line 91

Notice: Constant AUTOSAVE_INTERVAL already defined in /home3/premivu6/public_html/wp-config.php on line 92

Notice: Constant WP_POST_REVISIONS already defined in /home3/premivu6/public_html/wp-config.php on line 93

Notice: Constant EMPTY_TRASH_DAYS already defined in /home3/premivu6/public_html/wp-config.php on line 94

Warning: Cannot modify header information - headers already sent by (output started at /home3/premivu6/public_html/wp-config.php:91) in /home3/premivu6/public_html/wp-includes/functions.php on line 6270

not sure how to fix

Notice: Constant WP_CRON_LOCK_TIMEOUT already defined in /home3/premivu6/public_html/wp-config.php on line 91

Notice: Constant AUTOSAVE_INTERVAL already defined in /home3/premivu6/public_html/wp-config.php on line 92

Notice: Constant WP_POST_REVISIONS already defined in /home3/premivu6/public_html/wp-config.php on line 93

Notice: Constant EMPTY_TRASH_DAYS already defined in /home3/premivu6/public_html/wp-config.php on line 94

Warning: Cannot modify header information - headers already sent by (output started at /home3/premivu6/public_html/wp-config.php:91) in /home3/premivu6/public_html/wp-includes/functions.php on line 6270

not sure how to fix

Share Improve this question edited Aug 12, 2020 at 1:07 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Aug 12, 2020 at 0:57 franz23franz23 1
Add a comment  | 

1 Answer 1

Reset to default 1

Hard to tell, since you didn't share your code. But the error message tells you why.

But if you are trying to DEFINE previously defined constants (which is what those are, since they were defined in wp-config.php - look at that file in the indicated line number), then that would be the cause of your errors.

"Constants" are 'constant'. Never-changing. Once defined, that's it. Don't try to change the value of a constant that has been DEFINEd.

发布评论

评论列表(0)

  1. 暂无评论