WEBSITE CRASHES WHEN IT GOES INTO MAINTENANCE
afm-ags.org
Hi there - we recently moved the website and domain over to a new VM server. Now, when any plugin gets updated, the site goes into maintenance mode and crashes. The website was searching for a .maintenance file (that did not exist after the website move).... so we added the file .maintenance and the site loaded again.
Do you know what is going on here? This is a new error for me - not sure what is happening with maintenance...
[2025/09/10, 19:00:17] Jonathan Youngs: 2025-09-10 18:56:44.550833 [NOTICE] [58391] [197.234.242.121:37642:HTTP2-61>41.144.5.2#afm-ags.org-443] [STDERR] PHP Warning: require(/home/admin/domains/afm-ags.org/public_html/.maintenance): Failed to open stream: No such file or directory in /home/admin/domains/afm-ags.org/public_html/wp-includes/load.php on line 441
2025-09-10 18:56:44.550881 [NOTICE] [58391] [197.234.242.121:37642:HTTP2-61>41.144.5.2#afm-ags.org-443] [STDERR] PHP Warning: require(/home/admin/domains/afm-ags.org/public_html/.maintenance): Failed to open stream: No such file or directory in /home/admin/domains/afm-ags.org/public_html/wp-includes/load.php on line 441
2025-09-10 18:56:44.550895 [NOTICE] [58391] [197.234.242.121:37642:HTTP2-61>41.144.5.2#afm-ags.org-443] [STDERR] PHP Fatal error: Uncaught Error: Failed opening required '/home/admin/domains/afm-ags.org/public_html/.maintenance' (include_path='.:/usr/local/php81/lib/php') in /home/admin/domains/afm-ags.org/public_html/wp-includes/load.php:441
Stack trace:
[2025/09/10, 19:00:44] Jonathan Youngs: Its looking for the maintenance file which is a require somewhere
Comments
Hi,
this error has noting to with the theme. I recommend to reinstall wordpress but if this won't help, disable 3rd party plugins as problem might be there.