• 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://www.ads-software.com/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    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.