Title: w3_http_get not found: FIX.
Last modified: August 21, 2016

---

# w3_http_get not found: FIX.

 *  [Ben Doherty (Oomph, Inc)](https://wordpress.org/support/users/bendoh/)
 * (@bendoh)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/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.php` and
   insert the following line at line 7, before `w3_require_once(W3TC_LIB_W3_DIR .'/
   PgCache.php');`
 * `
    w3_require_once(W3TC_INC_DIR . '/functions/http.php');
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/w3_http_get-not-found-fix/#post-3646258)
 * Thanks, this is already fixed in the next release.
 *  [dancriel](https://wordpress.org/support/users/dancriel/)
 * (@dancriel)
 * [13 years ago](https://wordpress.org/support/topic/w3_http_get-not-found-fix/#post-3646324)
 * I had the same problem, but updating PgCacheFlush.php as described did not work
   for me, instead I added the line above to the file throwing the error, Dispatcher.
   php, and it seems to be fixed now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘w3_http_get not found: FIX.’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [fatal](https://wordpress.org/support/topic-tag/fatal/)

 * 2 replies
 * 3 participants
 * Last reply from: [dancriel](https://wordpress.org/support/users/dancriel/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/w3_http_get-not-found-fix/#post-3646324)
 * Status: not resolved