After moving my Drupal site to a new host, I got the following error in the error logs.
[error] 8707#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Constant DATE_RFC7231 already defined in /ext/vhosts/public/includes/bootstrap.inc on line 258
How can I fix it?
My site currently says "The website encountered an unexpected error. Please try again later"
My setup is as follows:
- Debian 8
- PHP 7.0.21
- MySQL 5.6
- Drupal 7.54