wp_remote_request() dies silently
-
Hi,
Wondering if there are cases where the
wp_remote_*()
functions are known to quit silently?I’m using
wp_remote_request()
as part of a background job, triggered in WP_Cron), to connect to the MailChimp API.After a lot of tracing and debugging to try and figure out why this background job appears to die quietly for certain requests, find that
wp_remote_request()
appears die a silent death and take the PHP process process with it (no error messages, warnings, notices that I can find).The background job handler includes code to gracefully exit before
max_execution_time
is exceeded.This works as expected in several other places where I use this background job library, so I don’t _think_ the background job handler is the problem here.
Have spent a couple of hours with Google searches, but I’m not finding examples of this, so figured I’d try asking here.
- The topic ‘wp_remote_request() dies silently’ is closed to new replies.