Title: gaptekupdate's Replies | WordPress.org

---

# gaptekupdate

  [  ](https://wordpress.org/support/users/gaptekupdate/)

 *   [Profile](https://wordpress.org/support/users/gaptekupdate/)
 *   [Topics Started](https://wordpress.org/support/users/gaptekupdate/topics/)
 *   [Replies Created](https://wordpress.org/support/users/gaptekupdate/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/gaptekupdate/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/gaptekupdate/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/gaptekupdate/engagements/)
 *   [Favorites](https://wordpress.org/support/users/gaptekupdate/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] W3 Total Cache and PHP 7.0.9](https://wordpress.org/support/topic/w3-total-cache-and-php-709/)
 *  [gaptekupdate](https://wordpress.org/support/users/gaptekupdate/)
 * (@gaptekupdate)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/w3-total-cache-and-php-709/#post-7592451)
 * if you have many sites with w3tc error &$buffer that you wanted to repair, just
   try this sed command to replace them all with $buffer
 *     ```
       cd /home;
       find -type f -name 'PgCache.php' -exec sed -i 's;ob_callback(\&\$buffer);ob_callback(\$buffer);g' {} \;
       find -type f -name 'BrowserCache.php' -exec sed -i 's;ob_callback(\&\$buffer);ob_callback(\$buffer);g' {} \;
       find -type f -name 'Cdn.php' -exec sed -i 's;ob_callback(\&\$buffer);ob_callback(\$buffer);g' {} \;
       find -type f -name 'Minify.php' -exec sed -i 's;ob_callback(\&\$buffer);ob_callback(\$buffer);g' {} \;
       find -type f -name 'NewRelic.php' -exec sed -i 's;ob_callback(\&\$buffer);ob_callback(\$buffer);g' {} \;
       find -type f -name 'TotalCache.php' -exec sed -i 's;ob_callback(\&\$buffer);ob_callback(\$buffer);g' {} \;
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments automatically active on submitted posts](https://wordpress.org/support/topic/comments-automatically-active-on-submitted-posts/)
 *  [gaptekupdate](https://wordpress.org/support/users/gaptekupdate/)
 * (@gaptekupdate)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/comments-automatically-active-on-submitted-posts/#post-4179567)
 * i have same problem -_-
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Remove query string from static content again](https://wordpress.org/support/topic/remove-query-string-from-static-content-again/)
 *  [gaptekupdate](https://wordpress.org/support/users/gaptekupdate/)
 * (@gaptekupdate)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/remove-query-string-from-static-content-again/#post-4384138)
 * add this to your theme functions.php
 *     ```
       function _remove_script_version( $src ){
           $parts = explode( '?ver', $src );
               return $parts[0];
       }
       add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
       add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Website takes 2 mins to load!](https://wordpress.org/support/topic/website-takes-2-mins-to-load/)
 *  [gaptekupdate](https://wordpress.org/support/users/gaptekupdate/)
 * (@gaptekupdate)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/website-takes-2-mins-to-load/#post-4435945)
 * Did you check your htaccess, there are some lines added by w3tc.
 * and also, check your wp-config.php and delete this lines (if any):
 * /** Enable W3 Total Cache */
    define(‘WP_CACHE’, true); // Added by W3 Total 
   Cache

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