Roots Discourse

Getting Fatal PHP Error - Aborted trying to redefine constant 'WP_HOME'

Hi, had a site go down overnight for no obvious reason - the only thing in the error logs is:

`PHP Fatal error:  Uncaught Roots\WPConfig\Exceptions\ConstantAlreadyDefinedException: Aborted trying to redefine constant 'WP_HOME'.`

Nothing that I can see has been changed or redefined. No code has been updated, but all of a sudden it runs a fatal error and 500’s.

Would anyone have any idea why this might happen, and how to fix it to get the site back up?

Many thanks!

This topic was automatically closed after 42 days. New replies are no longer allowed.