themes icon indicating copy to clipboard operation
themes copied to clipboard

Spearhead (Classic): Customizer preview is blank.

Open ariel-maidana opened this issue 11 months ago • 2 comments

Quick summary

When the Spearhead (Classic) theme is active, the Customizer preview is blank:

Image

Steps to reproduce

  1. Activate Spearhead (Classic).
  2. Go to Appearance ---> Customize.
  3. See issue.

A clear and concise description of what you expected to happen.

I should see a preview of the site.

What actually happened

The preview area is blank.

Impact

All

Available workarounds?

No but the platform is still usable

If the above answer is "Yes...", outline the workaround.

No response

Platform (Simple and/or Atomic)

Simple

Logs or notes

Context: 9301588-zd-a8c

ariel-maidana avatar Jan 18 '25 14:01 ariel-maidana

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 9301588-zen

github-actions[bot] avatar Jan 18 '25 14:01 github-actions[bot]

📌 REPRODUCTION RESULTS

  • Tested on Simple – Replicated
  • Tested on Atomic – Replicated

📌 FINDINGS/SCREENSHOTS/VIDEO On a Simple Site, I'm getting a few errors in the browser console:

Image

And on Atomic, I'm getting the following PHP error:

[20-Jan-2025 10:25:09 UTC] PHP Fatal error:  Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, null given in /wordpress/themes/pub/spearhead/inc/wpcom-colors-utils.php:125

📌 ACTIONS

  • Triaged

👋🏻 @Automattic/t-rex can you take a look at this one? Thank you!

jartes avatar Jan 20 '25 10:01 jartes