Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Plugins Activations & Block Display Errors #1110

Open
RaymondMRose opened this issue Jun 30, 2023 · 1 comment
Open

Plugins Activations & Block Display Errors #1110

RaymondMRose opened this issue Jun 30, 2023 · 1 comment

Comments

@RaymondMRose
Copy link

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:

  1. Have PHP level for WordPress set to 8.0+
  2. Install WDS plugins via Composer
  3. Go to Plugins and try to activate them

Steps to reproduce the preview error behavior:

  1. Activate WDS Headless (Block) plugin
  2. 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
Screenshot 2023-06-30 134454
Screenshot 2023-06-30 135800

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.

@abdokouta
Copy link

@RaymondMRose downgrade to PHP 7.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants