Codeinwp / otter-blocks

Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter.
https://wordpress.org/plugins/otter-blocks/
GNU General Public License v3.0
129 stars 33 forks source link

fatal error using block conditions and wp 6.5+ #2191

Closed selul closed 1 month ago

selul commented 2 months ago

Description

It seems like using Otter with the latest WP 6.5 version is throwing a fatal error when you restrict a specific block for logged-in conditions

Step-by-step reproduction instructions

  1. Use WP 6.5+
  2. Use latest Otter
  3. Add a block and mark it using block conditions to be visible only for logged-in users.
  4. check the page logged out, it should throw a fatal error.

Screenshots, screen recording, code snippet or Help Scout ticket

No response

Environment info

No response

Is the issue you are reporting a regression

No

pirate-bot commented 2 months ago

:tada: This issue has been resolved in version 2.6.11 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: