- Issue created by @philalawst
- ๐ฎ๐ณIndia abhishek_virasat
abhishek_gupta1 โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia abhishek_virasat
@philalawst, I have fixed the issue and created MR . please review it once.
In drupal 11, there is a bug with definition of FieldType FileUrlItem.php
I got the error :
TypeError: Cannot access offset of type Drupal\Core\StringTranslation\TranslatableMarkup in isset or empty in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 45 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
In src/Plugin/Field/FieldType/FileUrlItem.php, I change
* category = @Translation("Reference"),
By
* category = "reference",
Active
2.0
Code
abhishek_gupta1 โ made their first commit to this issueโs fork.
@philalawst, I have fixed the issue and created MR . please review it once.