Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: warning on php8.0 #2017

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: warning on php8.0 #2017

wants to merge 1 commit into from

Conversation

Pek5892
Copy link

@Pek5892 Pek5892 commented Oct 29, 2024

This pull request resolves an error reported in Brizy's forum, and also encountered by us.
With this fix, the error no longer appears and the site loads correctly.

errors shown:

Warning: Attempt to read property "post_type" on null in /public_html/wp-content/plugins/brizy/admin/blocks/main.php on line 207
Warning: Attempt to read property "ID" on null in /public_html/wp-content/plugins/brizy/admin/blocks/main.php on line 208

forum link: https://support.brizy.io/hc/en-us/community/posts/22112971369234

php version: 8.0

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

Successfully merging this pull request may close these issues.

1 participant