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

Warning: trying to access array offset (resolve-pattern.php) #60636

Closed
bradhogan opened this issue Apr 10, 2024 · 3 comments
Closed

Warning: trying to access array offset (resolve-pattern.php) #60636

bradhogan opened this issue Apr 10, 2024 · 3 comments
Labels
[Block] Pattern Affects the Patterns Block [Type] Bug An existing feature does not function as intended

Comments

@bradhogan
Copy link

Description

Getting the following:

Warning: Trying to access array offset on value of type null in /Users/bradhogan/Documents/Websites/mysite/app/public/wp-content/plugins/gutenberg/lib/compat/wordpress-6.6/resolve-patterns.php on line 26

Step-by-step reproduction instructions

Install just the latest wp and gutenberg, add and activate a child theme (can be stripped down to include essentially nothing other than functions.php and stylesheet and blank theme.json), then view backend or go to edit a page.

Screenshots, screen recording, code snippet

No response

Environment info

  • wp 6.5.2
  • gutenberg 18.1.0
  • chrome
  • mac

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@bradhogan bradhogan added the [Type] Bug An existing feature does not function as intended label Apr 10, 2024
@Mamaduka Mamaduka added the [Block] Pattern Affects the Patterns Block label Apr 10, 2024
@Mamaduka
Copy link
Member

Thanks for contributing, @bradhogan!

#60464 fixed this issue and will be part of the Gutenberg 18.2 release. I've also added a label for the fix to be included in a minor release if scheduled before a major one.

@bradhogan
Copy link
Author

@Mamaduka Hey there. Just noticed there was a minor release but this bug is still there.

@Mamaduka
Copy link
Member

Sorry, @bradhogan. I wasn't involved in this minor release, and it looks like folks missed the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Pattern Affects the Patterns Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants