Timeline for How can I resolve the php notice "Constant EMPTY_TRASH_DAYS already defined"
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 28, 2018 at 10:48 | comment | added | Kit Johnson |
Yes I had tried that! It's been solved now. The issue is that I had defined this constant after calling wp-settings.php . By defining the constant before calling that, there is no duplicate definition.
|
|
Oct 27, 2018 at 4:40 | comment | added | ManzoorWani |
Did you try a regex search like define\([^"']*?["']EMPTY_TRASH_DAYS ?
|
|
Oct 27, 2018 at 4:23 | comment | added | Kit Johnson | What you've said is all true, but it's information that I already included in the question. I understand the cause of the problem and I already searched inside all of the php files. Incidentally I used sublime text as you suggested, but also Directory Opus. (However I don't think this answer deserves being downvoted.) | |
Oct 25, 2018 at 5:27 | history | answered | ManzoorWani | CC BY-SA 4.0 |