Hi,
Phoenix 1.0.8.0
[08-Apr-2021 12:03:50 America/New_York] PHP Warning: Use of undefined constant DATE_FORMAT_STRING - assumed 'DATE_FORMAT_STRING' (this will throw an Error in a future version of PHP) in /home/lamastus/public_html/advanced_search_result.php on line 36
I got the error from error_log how do I fix this?
DATE_FORMAT_STRING undefined?
-
- Lead Developer
- Posts: 2656
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 182 times
Re: DATE_FORMAT_STRING undefined?
In includes/languages/english/advanced_search.php change to
Code: Select all
// text for date of birth example
define('DOB_FORMAT_STRING', 'mm/dd/yyyy');
Code: Select all
const DATE_FORMAT_STRING = 'mm/dd/yyyy';