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

Command icon 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

jeffm2001 created an issue. See original summary.

jeffm2001’s picture

Status: Active » Needs review
edysmp’s picture

Status: Needs review » Reviewed & tested by the community

This fixes the issue for me.

graber made their first commit to this issue’s fork.

graber’s picture

Status: Reviewed & tested by the community » Fixed

Looks like the D11 upgrade messed a few things up. Hopefully that's it for now.
Thanks both!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.