Support » Plugin: Related Posts » Problems after Total Cache Update

  • Hello,

    just updated TotalChache and now the Thumbnails are not shown any longer.
    Seems to be affected by the “HTML minify settings” – When diabled all things word good, if enabled the thumnails are not shown.

    Any idea? 🙂

    Best

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I got the same problem with W3 Total Cache…

    Hello,
    We are aware of this issue with HTML minify and we’re releasing a new update with fixes within a week.
    Try this quick fix until the update is out.

    w3-total-cache/lib/Minify/Minify/HTML.php line 346:

    $m[2] = preg_replace('/([a-z0-9]=)[\'"]([^\'"\\s=]+)[\'"](?!\\/)/i', '$1$2', $m[2]);
            $m[2] = preg_replace('/([a-z0-9]=)[\'"]([^\'"\\s=]+)[\'"]\\//i', '$1$2 /', $m[2]);
            $m[2] = preg_replace('/([a-z0-9])=[\'"][\'"]/i', '$1', $m[2]);

    should be:

    $m[2] = preg_replace( '/([a-z0-9]=)\'([^\'\\s=]+)\'(\\s|>)(?!\\/)/i', '$1$2$3', $m[2] );
            $m[2] = preg_replace( '/([a-z0-9]=)"([^"\\s=]+)"(\\s|>)(?!\\/)/i', '$1$2$3', $m[2] );
            $m[2] = preg_replace( '/([a-z0-9]=)\'([^\'\\s=]+)\'\\//i', '$1$2 /', $m[2] );
            $m[2] = preg_replace( '/([a-z0-9]=)"([^"\\s=]+)"\\//i', '$1$2 /', $m[2] );
            $m[2] = preg_replace('/([a-z0-9])=[\'"][\'"]/i', '$1', $m[2]);
    Plugin Author Lenin Zapata ☄

    (@ilenstudio)

    Hi, I think this is a W3 Total Cache plugin problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems after Total Cache Update’ is closed to new replies.