Title: Getting error message when using W3 Total Cache with SSL
Last modified: August 31, 2016

---

# Getting error message when using W3 Total Cache with SSL

 *  [kat08](https://wordpress.org/support/users/kat08/)
 * (@kat08)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/getting-error-message-when-using-w3-total-cache-with-ssl/)
 * Hi,
 * I am getting an error message at the bottom of the screen when using W3 Total
   Cache with SSL. The security badge that used to be displayed on the main page
   got replaced by this message:
 * Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a 
   reference, value given in /homepages/32/d489836946/htdocs/clickandbuilds/CMS3/
   wp-includes/functions.php on line 3549
 * Can you please help me fix this as it also displays my installation files for
   everyone to see….
 * Thank you!
    Susanna
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

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

 *  [Kimberly](https://wordpress.org/support/users/amiga500/)
 * (@amiga500)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/getting-error-message-when-using-w3-total-cache-with-ssl/#post-7342079)
 * Hi. Oh that is the php 7 bug. It’s easy to fix:
 * File: **/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php**
 * **Line: 512**
 * Replace:
 *     ```
       function ob_callback(&$buffer)
       ```
   
 * With:
 *     ```
       function ob_callback($buffer)
       ```
   
 * All you’re doing is removing the by-reference ampersand “&”.
 * Kimberly
 *  [ditler](https://wordpress.org/support/users/ditler/)
 * (@ditler)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/getting-error-message-when-using-w3-total-cache-with-ssl/#post-7342188)
 * Thank you, I needed that too. Hope it will be patched in the next version.

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

The topic ‘Getting error message when using W3 Total Cache with SSL’ 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

 * [error message](https://wordpress.org/support/topic-tag/error-message/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 2 replies
 * 3 participants
 * Last reply from: [ditler](https://wordpress.org/support/users/ditler/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/getting-error-message-when-using-w3-total-cache-with-ssl/#post-7342188)
 * Status: not resolved