w3_http_get not found: FIX.
-
This error seems to happen to me ONLY when I call wp_insert_post without any current user defined (which is a situation that may occur in many syndication plugins and automated processes.)
PHP Fatal error: Call to undefined function w3_http_get() in [REDACTED]/wp-content/plugins/w3-total-cache/lib/W3/Dispatcher.php on line 238
A simple fix is to edit the file
w3-total-cache/lib/W3/PgCacheFlush.phpand insert the following line at line 7, beforew3_require_once(W3TC_LIB_W3_DIR . '/PgCache.php');
w3_require_once(W3TC_INC_DIR . '/functions/http.php');
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘w3_http_get not found: FIX.’ is closed to new replies.