"PHP Notice: Constant DATE_RFC7231 already defined in /ext/vhosts/public/includes/bootstrap.inc on line 258"
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
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.