This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Description
Describe the bug
I followed all the steps in the backend install but the WDS Headless plugins won't activate unless I downgrade my PHP version to 7.4. That works.
However, after activation, the Visual Editor is showing me "The Block has encountered an error and cannot be previewed" for blocks.
Help!
To Reproduce
Steps to reproduce the activation behavior:
- Have PHP level for WordPress set to 8.0+
- Install WDS plugins via Composer
- Go to Plugins and try to activate them
Steps to reproduce the preview error behavior:
- Activate WDS Headless (Block) plugin
- Go to any page and see block previews
Expected behavior
Plugins in install in most recent versions of PHP and blocks to be previewed correctly.
Screenshots


Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version 114.0.5735.135
Additional context
Thank you for your time in advance.