• Resolved rudolfl

    (@rudolfl)


    Hi

    I seem to have an issues where attempts to reset UCSS do not work. I am resetting UCSS on a page, then resetting LS cache and cloudflare. Re-loading page (browser cache disabled) and I can see that page cache was regenerated (looking at time stamp in the end of the HTML) and it also shows UCSS is loaded. Page is broken as well and doe snot show recent changes I did to UCSS settings. Even tried to do whole site UCSS reset — on same pages result is same.

    I also looked at response headers — “cache miss”, but UCSS is not cleared

    LiteSpeed Cache plugin 7.0.0 and 7.0.1

    Any ideas?

    • This topic was modified 10 months ago by rudolfl.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support qtwrk

    (@qtwrk)

    have you tried go to toolbox -> purge -> purge UCSS ?

    Thread Starter rudolfl

    (@rudolfl)

    Thank you

    I just tried your suggestion. Clearing UCSS, followed by clearing LSCache worked.

    I assume, something is broken when using usual LiteSpeed menu? Also, with toolbox option, I am unable to clear individual pages, only whole lot

    Plugin Support qtwrk

    (@qtwrk)

    you mean this one ?

    and how did you clear individual URL ?

    Thread Starter rudolfl

    (@rudolfl)

    Yes,

    But there is more info. Actually, looks like something is failing with rather strange error log

    Accessing this link caused an error:

    https://www.flowers24hours.com.au/wp-admin/admin.php?LSCWP_CTRL=purge&LSCWP_NONCE=8bab9fbcb7&litespeed_type=purge_all&_litespeed_ori=1

    Error Details

    An error of type E_COMPILE_ERROR was caused in line 57 of the file /home/bestflorist/public_html/flowers24hours/wp-content/themes/Avada/functions.php. Error message: Cannot redeclare custom_woocommerce_category_title() (previously declared in /home/bestflorist/public_html/flowers24hours/wp-content/themes/Avada-Child-Theme/functions.php:185)

    The problem is… both functions.php files (in parent and child theme) are shorter than line number in the log. And there is no “custom_woocommerce_category_title()” mentioned anywhere in child or parent theme. (I did grep on the word through all themes)

    Same error shown in WooCommerce logs. And function custom_woocommerce_category_title() is not found even in WooCommerce itself.

    Rudolf

    Plugin Support qtwrk

    (@qtwrk)

    the URI is wrong

    please try create a clean subdirectory wordpress with LiteSpeed plugin only , and see how the URI is form up , that _litespeed_ori=1 should not show up in purge link

    Thread Starter rudolfl

    (@rudolfl)

    “_litespeed_ori=1” shows on URI when one attempts to purge all UCSS, but does not appear for single page.

    Error above seem to be intermittent too. I am unable to easily reproduce it, but Woo log is full of it.

    Very strange… Let’s wait for UCSS to regenerate after I used “toolbox” option to clear it. Perhaps this cleared things up.

    Rudolf

    Plugin Support qtwrk

    (@qtwrk)

    that ori=1 should not attach and show up on any purging action URI though…

    Thread Starter rudolfl

    (@rudolfl)

    I just checked other sites.

    It appears on all sites when attempting to clear all UCSS, but only when doing so from site front end. When you are at site backend, this is not appearing on URI

    Plugin Support qtwrk

    (@qtwrk)

    okay , frontend bar…

    I just tested there as well and it worked on me

    but please try again once you have UCSS generated, enable debug log with debug include URI set to purge_all_ucss , that should give you the log when you press the button on frontend bar to purge UCSS, let’s see what will log say about it

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

The topic ‘Unable to reset UCSS cache’ is closed to new replies.