Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get HttpClientDelegate class not found error when calling http_client() function. After checking the http_client_autoload_info() function in http_client.module, I think there is a missing autoload config in the function. To fix this, I am currently putting this piece of code inside my own module (e.g. module 'foo').
function foo_autoload_info() {
// fixing http_client's autoload problem
return array(
'HttpClientDelegate' => array(
'file' => '/includes/HttpClient.inc',
'file path' => drupal_get_path('module', 'http_client')
)
);
}
Comments
Comment #1
voxpelli CreditAttribution: voxpelli commentedA fix for this is now committed - sorry for the extreme delay. The fix should appear in a development release shortly.