Opened 15 years ago
Closed 15 years ago
#15011 closed defect (bug) (invalid)
WP_Http fails to load some conditions
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 3.1 |
Component: | HTTP API | Keywords: | |
Focuses: | Cc: |
Description
I'm experiencing an issue where when you redirect to wordpress from another server, WP_Http is instantiated before the class has been loaded.
PHP Fatal error: Class 'WP_Http' not found in /usr/local/www/production/engauge.com/docroot/wp-includes/http.php on line 26
PHP Fatal error: Class 'WP_Http' not found in /usr/local/www/production/engauge.com/docroot/wp-includes/http.php on line 26
PHP Fatal error: Class 'WP_Http' not found in /usr/local/www/production/engauge.com/docroot/wp-includes/http.php on line 26
PHP Fatal error: Class 'WP_Http' not found in /usr/local/www/production/engauge.com/docroot/wp-includes/http.php on line 26
PHP Fatal error: Class 'WP_Http' not found in /usr/local/www/production/engauge.com/docroot/wp-includes/http.php on line 26
Attachments (1)
Change History (5)
#1
in reply to:
↑ description
@
15 years ago
Replying to cthomas_engauge:
I'm experiencing an issue where when you redirect to wordpress from another server, WP_Http is instantiated before the class has been loaded.
I'm not sure what that means or what you're trying to do, but class-http.php is always included by core, so there's no reason to conditionally include class-http.php as it should always exist.
#2
@
15 years ago
- Cc cthomas_engauge added
- Resolution set to fixed
- Status changed from new to closed
Specifically I'm finding events in my error log that show that sometimes wordpress is trying to instantiate the object, but class-http.php is not loaded. I'm running a hybrid child theme called skeleton and no plugins.
Patch file