In php 8.0 and above if we pass an array to the first argument in array_key_exists($title, $replacedTitles) we got an error array_key_exists(): Argument #1 ($key) must be a valid array offset type in easy_breadcrumb/src/EasyBreadcrumbBuilder.php on line 49
In some cases, the $title may be a markable array or translatable array.
also, you can create a custom entity or alter an existing entity and return a t('test') in the label function for the entity
Add is_string check, and don't run array_key_exists if the $title is not a string
patch and PR
none
none
none
Closed: works as designed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.