• Resolved c0mradeboy

    (@c0mradeboy)


    Hello.

    I upgraded my server hardware to PHP 8.0 and ran into a problem with caching, css caching occurs only on some pages, but most of the pages start to display incorrectly, I have to manually reset the cache for certain pages. Returning to PHP 7.4, the problem goes away.

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

    (@vmarko)

    Hello @c0mradeboy

    I am sorry about the issue you experienced after upgrading to PHP 8.0
    However, in order to assist you with this, I need more details to understand what exactly happened.
    1. css caching occurs only on some pages – I am not sure what this means. Are you referring that the files on some pages are not minified or the styling breaks when those files are minified?
    2.I have to manually reset the cache for certain pages – Does this mean that you purged the cache for specific pages and if so does the issue persist after this? Also, have you tried purging all cache and see if the issue persists?
    3. Please share the screenshot of the issue so we can check this
    4. Please share your website URL so we can check for console errors.
    5. Check if you have any Php errors on your server and check the debug log for any warnings or issues.
    Thanks!

    Thread Starter c0mradeboy

    (@c0mradeboy)

    @vmarko

    Well, for example, let’s take this site – https://kypidon.by/
    This is one of the sites that we translated to PHP 8.0, after the translation we updated the plugins and cleaned the cache accordingly.

    I started using the site and found that some pages look like this – https://kypidon.by/wp-content/uploads/2021/01/screenshot_1.png
    I want to draw your attention to the fact that I entered the anonymous browser mode so that the cache from the computer would not be pulled.

    After that, I went to this page from the admin panel and cleared the cache on it, the page began to display like this – https://kypidon.by/wp-content/uploads/2021/01/screenshot_2.png

    This problem occurs on 8 sites. After I switch the site back to PHP 7.4, the problem goes away.

    I also want to note that when you disable your plugin for caching, the problem also disappears.

    • This reply was modified 4 years, 1 month ago by c0mradeboy.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @c0mradeboy

    Thank you for the information.
    SO, just to confirm, after you update to PHP 8 the problem occurs. However, while still on PHP 8 and you purge the cache, the problem goes away?
    If this is the case then the only thing needed is to purge the cache after you update to Php 8.
    Thanks!

    Thread Starter c0mradeboy

    (@c0mradeboy)

    @vmarko

    Cleaning is not working properly. It should clear all pages, but it does not clear everything, or clears but not correctly. I have to manually go through the site and clear exactly those pages that do not work correctly, a complete cleaning leaves the pages that do not work correctly.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @c0mradeboy

    Thank you for the information.
    SO the issue occurs on 8 websites and the issue is always the same?
    Can you please try changing the CSS minifier: in Performance>General settings and purge the cache and see if the issue persists?
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem after upgrading to PHP 8.0’ is closed to new replies.