Error 500 on admin-ajax.php
-
Hi all,
Not sure what is happening but admin-ajax.php is throwing error 500.
[Mon Oct 16 01:53:46 2023] "POST /wp-admin/admin-ajax.php HTTP/2.0" 500 0 "https://[redacted]/wp-admin/upload.php?mode=grid" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
This happens when accessing Media Library in grid mode, no issues displaying images in list mode.
I also noticed that my other plugin would fail, All-in-one WP Migration plugin would not be able to run export to backup. The same error would appear.
What I've tried:
- Disabling all plugins
- Enabling default theme
- Increased WP_MEMORY_LIMIT to 128M
- Increased the App Memory Limit to 512M
When I reboot the App or the Server, the site will not load and the logs will show:
Healtheck error: Error: connect ECONNREFUSED 172.18.20.7:80
Ideas?
-
@alwynispat Have you tried turning on verbose logs - https://wordpress.org/documentation/article/debugging-in-wordpress/#example-wp-config-php-for-debugging ?
But it seems the server itself doesn't start. What's in the logs before the health check errors? Where is it hanging?
-
nothing but depreciated errors.
weird thing is, I've rebuilt the site using a backup from all-in-one wp migration tool to www.website.com and redirected website.com to it. site is still standing.
Attacks happening to root domain?