• On the advanced page I wanted to set the plugin to use the uncachable version but there is an error showing up that says “There are errors in your CSS. Please fix these before saving.” So I am unable to save any changes. But there is nothing in the Custom CSS textarea. I don’t know where this error is coming from. Any help would be appreciated.

    • This topic was modified 6 years, 12 months ago by jhemmy.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @jhemmy,

    Sorry for the slow reply, was away for a while.

    This message shows if there’s erring the the custom css editor. Do you have CSS in there and if so, is it valid?

    Thanks
    Phil

    Thread Starter jhemmy

    (@jhemmy)

    Thanks for the reply.

    There is nothing in the textarea. I even tried deleting the empty space in case there were hidden characters or spaces.

    Plugin Author Phil

    (@philsbury)

    That’s really odd. Can you try clicking the “Load default CSS” button and seeing if it goes away? If it does, save and then see what happens if you delete everything. Testing locally for me its all good so this might solve it.

    Thanks
    Phil

    Thread Starter jhemmy

    (@jhemmy)

    Clicking “Load default CSS” loads some CSS into the textarea but the error does not go away. So the “Save changes” button remains disabled. Deleting the default CSS didn’t remove the error either. I was able to inspect the button with the dev tools and remove the disabled property which allowed me to save the changes but that is obviously a hack. But it got me by for now. I needed to enable the js age gate so we could start using a caching solution.

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

The topic ‘There are errors in your CSS’ is closed to new replies.