Problem/Motivation
A bug was introduced in #3434879: Automated Drupal 11 compatibility fixes for tailwindcss_utility which results in a Call to undefined method error whenever you try to add/edit a block in Layout Builder. Not terribly surprising because there is a @phpstan-ignore-next-line method.notFound above the offending line.
Steps to reproduce
Proposed resolution
It's not clear to me that the change that led to this error was actually necessary, so I'm going to propose reverting it back to its previous state. But, if it turns out it is needed, the missing method can be found in this commit: https://git.drupalcode.org/project/tailwindcss_utility/-/commit/2123196f...
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork tailwindcss_utility-3542317
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jeffm2001 commentedComment #4
edysmpThis fixes the issue for me.
Comment #6
graber commentedLooks like the D11 upgrade messed a few things up. Hopefully that's it for now.
Thanks both!