This will throw an Error in a future version of PHP

I’m getting error:

Warning : Use of undefined constant date- assumed ‘date’ (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\proj\dir\index.php on line 76

I fix this by adding error_reporting(0); , but im not sure how good it is
Should I ignore this?

I’m assuming that you’ve already googled the error and tried the solutions (like this one, which was the top result when I searched your error)

Can you give us further information about what problems you’re having with the various explanations and solutions you’ve found online?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.