Support » Plugin: W3 Total Cache » 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frederick Townes

    (@fredericktownes)

    Thanks, this is already fixed in the next release.

    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.