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

Plugins Activations & Block Display Errors #1110

@RaymondMRose

Description

@RaymondMRose

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions