Just updated to 1.17 and am getting this when I try to save new content. The content saves.

"The website encountered an unexpected error. Try again later.

Error: Call to undefined function _token_field_label() in smart_trim_token_info_alter() (line 34 of modules/contrib/smart_trim/smart_trim.tokens.inc)."

I started with a few modules that needed updating. Token being one. Drupal 10.6.1 to 10.6.2 was also included in my

composer update

did a rollback

froze token to 1.16 in my composer.json

re-updated

tested creating content and saving. problem goes away.

there's also and issue just reported in smart_trim https://www.drupal.org/project/smart_trim/issues/3566575

Comments

digitaltodd created an issue. See original summary.

berdir’s picture

Status: Active » Closed (duplicate)

Yes, this is a duplicate of that issue, as you can see by the caller.

Maybe shouldn't have deleted it, but it's already fixed in smart trim.

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.