• Resolved grodanboll2

    (@grodanboll2)


    Hello,

    Every time I update a page, a post or do any other update in the wp admin area then new css files are generate in the cache. These new files do however start with:

    <br />
    <b>Deprecated</b>: The each() function is deprecated. This message will be suppressed on further calls in <b>/home/web1/gusty.se/htdocs/wp-content/plugins/w3-total-cache/lib/CSSTidy/class.csstidy.php</b> on line <b>1083</b><br />

    The result is that the css files aren’t being rendered correctly and the site looks like a mess. In order to fix the css then I have to invalidate css files on CDN cache. It’s a pain not to be able to update my site without screwing up the css files. Is there some kind of solution on this problem? Would be a shame if I had to uninstall W3 Total Cache.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Go to performance>Minify, CSS sub-box and check what is under CSS minifier: If CSS tidy is selected, switch to Minify (default) save and purge caches and see if the issue persist

    Thread Starter grodanboll2

    (@grodanboll2)

    Thanks Marko! CSS tidy was selected so I switched it to Minify (default) and now it seems like the css is being rendered correctly!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Glad to know that the issue is resolved!

    Thread Starter grodanboll2

    (@grodanboll2)

    Hi Marko,

    I′m sorry to be back again, but the css problem persist.
    W# Total Cache adds code to this css file and I have to invalidate it to get rid of that code that is added.
    https://static.gusty.se/wp-content/cache/minify/29a74.css

    Can something else be done to solve the problem?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    There is nothing you need to do about it. I’ve tested your website on GtMetrix. Your score is amazing https://gtmetrix.com/reports/static.gusty.se/NPr3AJc6

    Thread Starter grodanboll2

    (@grodanboll2)

    So, is it not possible to prevent W3 Total Cache from adding this code to the css file?

    <br />
    <b>Deprecated</b>: The each() function is deprecated. This message will be suppressed on further calls in <b>/home/web1/gusty.se/htdocs/wp-content/plugins/w3-total-cache/lib/CSSTidy/class.csstidy.php</b> on line <b>1083</b><br />

    Should I downgrade to php 7.1 to avoid it?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    There is some deprecated code there as the library needs to be updated. We will fix this in the future release. But there is nothing to be worried about.
    Thank you for your patience.

    Thread Starter grodanboll2

    (@grodanboll2)

    Ok,

    When can I expect the next release?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    I can’t tell you the exact date frame. We are working on improving the plugin and the next update will be released when the improvements are done and testing is completed.

    Thread Starter grodanboll2

    (@grodanboll2)

    Ok, so in the meantime I’ll just invalidate the css files if W3 Total Cache add some deprecated code to them.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘W3 Total Cache not working with php 7.2’ is closed to new replies.