Using a global color for the background crashes page

I’ve found that when I apply a global color (maybe it is the first one?) to the global page background color then the page crashes.

Note that the background color reverted to black on the frontend and I was unable to go into the site editor to change it. Regenerating the CSS / Global CSS fixed it. I saw in the JS console that there was an error reading - Here is that error message in case it is related:

Error: Failed to parse color: “var(–cc-color-background)”
at f (
at x (
at Ir (
at xl (
at v (
at ce (
at A. ([chunk_0]=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2:11:16077)
at P ([chunk_0]=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2:11:15885)

Here is a short video showing the issue:

  • WordPress version: 6.2.1
  • PHP 8.1.9
  • Gutenberg Plugin version: - not installed
  • Cwicly Plugin version:
  • Cwicly Theme version: 1.0.3

Hi @David,

Sorry to hear you’re experiencing trouble with this.

Variable values are currently not supported for the global background colour.
Until this feature gets implemented, we kindly request that you use a custom value.

Thank you for your patience and understanding.

Actually, this turned into a problematic issue. Perhaps it should not be allowed or at least a note added. See this thread please: Clicking on the taxonomy term gives block error

Hello @David,

Indeed, global colours should not be directly available from the background colour selector. This will be addressed in the next update.

I have replied to your message in the appropriate thread.

1 Like

Great. Thank you for looking into this.