- 🇺🇸United States fmitchell
Possibly use a custom subscriber as outlined here: https://drupal.stackexchange.com/questions/219454/how-do-i-serve-up-a-th...
When there is a fatal error because of MySQL server is down , it outputs a response with the message "The website encountered an unexpected error. Please try again later."
I tried to handle this exception with "maintenance offline page" (maintenance-page--offline.html) template in D8 , also tried to find solution in .htaccess but no luck!
I want to handle this with an event subscriber which will capture the HTTP 500 response and redirect it to static error-500.html page.
Anyone had success with either of these approaches?
Closed: outdated
9.3
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Possibly use a custom subscriber as outlined here: https://drupal.stackexchange.com/questions/219454/how-do-i-serve-up-a-th...