- Issue created by @ady1503
- 🇫🇷France lazzyvn paris
are you sure you have the latest version? Your error at line 267 but this module have 227 line of code?
https://git.drupalcode.org/project/datafield/-/blob/2.x/datafield.module... - 🇪🇸Spain ady1503
I don't know why composer installed version 1.0.27.
All good.
Close the incident.
Thank you.
- Status changed to Closed: won't fix
7 months ago 8:29pm 15 April 2024 - 🇷🇺Russia _cosmos_ Izhevsk, Russia
The same error on 1.0.27 of the datafield module.
Really there is no use statement:use Drupal\Core\Field\FieldTypeCategoryManagerInterface;
there
https://git.drupalcode.org/project/datafield/-/blob/1.x/datafield.module...error message:
8 18/Jun 13:33 php Ошибка Error: Class "FieldTypeCategoryManagerInterface" not found in datafield_field_type_category_info_alter() (line 267 of /app/web/modules/contrib/datafield/datafield.module) [3e8cd77c-e52d-4bInstalled module
$ lando drush pml | grep datafield
Field types Data Field (datafield) Enabled 1.0.27 - 🇫🇷France lazzyvn paris
this FieldTypeCategoryManagerInterface interface is only for Drupal 10.2+. Fixed in newest version