- Issue created by @alienzed
- 🇨🇦Canada alienzed
Actually it seems like this logic was previously in
bootstrap_barrio_preprocess_input() and if I move the code from bootstrap_barrio_preprocess() into it, the error goes away. I'd want a maintainer with an understanding of why this code was moved to let me know if that is a safe change to make, and maybe why it works in the former and not the newer function.Thanks!
- Status changed to Postponed: needs info
over 1 year ago 11:42pm 1 July 2023 - 🇵🇪Peru hatuhay Lima
I cannot reproduce the error and those lines are 3 years old.
- 🇨🇦Canada Natkeeran
Ran into this issue as well (5.5.13).
https://git.drupalcode.org/project/bootstrap_barrio/-/blob/5.5.13/bootst...
In our case, this made it hit that line: https://github.com/digitalutsc/archive_list_contents/blob/1.x/src/Plugin...
- 🇵🇪Peru hatuhay Lima
Natkeeran, please add
use Drupal\Core\StringTranslation\TranslatableMarkup;
at the beginning of your file and see if this fix the error.
Seems like somehow Drupal is trying to translate the string by calling this function. - Status changed to Closed: works as designed
about 1 year ago 1:14am 29 November 2023