Error when create UCSS via Litespeed cache

This topic has 4 replies, 3 voices, and was last updated 10 months ago ago by Andrew Mitchell

  • Avatar: MEXESS
    Simeon Iliev
    Participant
    September 26, 2024 at 15:25

    Hello,

    When LiteSpeed cache plugin try to generate ucss i get this error:

    /* [ERROR] Unknown word (add_filter(‘xstore_compare_product_query_args’, ‘__return_false’);): Please fix this css error and then try again. The problem may be around this string, normally right after it. If nothing else, you can find out which css file contains this css string and exclude it from css combine. */

    Can you tell me which css file contains this css string to exclude it from css combine?

    Regards,
    Simeon

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 27, 2024 at 07:35

    Dear @Simeon Iliev,

    We hope this message finds you well. Upon reviewing your website’s configuration, we have identified an issue where PHP code has been inserted into a CSS file, which is causing the error you are experiencing.

    Our analysis suggests with high certainty (approximately 99.99%) that the PHP filters have been added to the style.css file of your child theme. We kindly ask you to verify this by checking the specified section in the private area.

    Please remove the PHP code from the style.css file to resolve the issue. Once this is done, we recommend that you restart the Litespeed caching system to ensure that the changes take effect.

    Thank you for your prompt attention to this matter. Should you require any further assistance, please do not hesitate to contact us.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: MEXESS
    Simeon Iliev
    Participant
    September 27, 2024 at 08:01

    Hi,

    Thank you. Removing the PHP solved the issue.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 27, 2024 at 08:01

    Dear Simeon Iliev,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Error when create UCSS via Litespeed cache’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.