Undefined index: SERVER_NAME
-
Hi,
I have some issues with the wordpress back-end and I’m in the process of trying to get them fixed. A few issues have been fixed and I’m focussing on one that I’m not sure (yet) where to look for the solution but I’m trying here (and with my host).
I have problems with downtime, just a minute, sometimes less sometimes a little more and then I’m back up, at first this happened throughout the day. I moved my wp-cron jobs to an actual scheduler and this lessened the down-minutes. I fixed more down-minutes by disabling part of WooCommerce (their admin-pack is a resource hog). Right now I get cron-erros at regular intervals. This is the error:
“Undefined index: SERVER_NAME”
Because they came at regular intervals I checked what cron-process where scheduled to run at that time. It turned out that if I ran the “updraft_backup” cron job using the (free version of the) cron-manager plugin it says “Event has been executed with errors”.
Then looking in the error_log I find these errors:
Warning mod_fcgid: read data timeout in 45 seconds, referer: https://…/wp-admin/tools.php?page=advanced-cron-manager
Error End of script output before headers: admin-ajax.php, referer: https://…/wp-admin/tools.php?page=advanced-cron-managerA few minutes later the mail send by my cron-deamon/plesk-server that gives this message:
PHP Notice: Undefined index: SERVER_NAME in /…/wp-includes/pluggable.php on line 331
I can repeat this by manually running the job “updraft_backup”.
When the job is kicked-off by the server there is nothing in the logs, just the mail with the error and a updraft mail about having run the backup.This is a long story (it took some time to get it this clear :)) but I was wondering if someone has an idea how to solve this>?
Thank you very much!
Bob
- The topic ‘Undefined index: SERVER_NAME’ is closed to new replies.