This repository was archived by the owner on Feb 27, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork133
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
TypeError: validateThemeColors is not a function #1108
Open
Description
I am unsure if wecan use LocalWP sites using a URL different tolocalhost, and if not, that might be the cause of this problem.
Describe the bug
Following thebackend process, all plugins except
- DS Headless (Gravity Forms)
- WPGraphQL for Gravity Forms
are active
When creating a new page using Gutenberg, there is an error when adding any block:This block has encountered an error and cannot be previewed.
and a console errorTypeError: validateThemeColors is not a function.
Activating the wds-headless-theme does not resolve this.
To Reproduce
- Followthe steps for the backend:
- Create a new WP site using LocalWP on macOS
- Install Composer
- Install & activate Plugins and Theme
- Configure wp-config.php
- Create a new Page where the error will occur
Expected behavior
You should receive no error when adding a new block to a new page.
Desktop (please complete the following information):
- macOS Ventura 13.3.1
- Chrome Version 113.0.5672.126
- LocalWP 6.7.1, PHP 7.4.30, WP 6.2.2.
- wds-headless-theme Version 1.0.0
Additional Notes
- After activating wds-headless-theme, the gutenberg editor layout looked a bit broken:

- There is also a console error on the page editor screen:
Failed to load resource: net::ERR_CONNECTION_REFUSED: http://localhost:3000/?page_id=18&_wp-find-template=true&_locale=user - Deactivating wds-headless-theme and activating Twenty Twenty Three makes the editor layout look unbroken:

Metadata
Metadata
Assignees
Labels
No labels
