Closed (fixed)
Project:
Workflow
Version:
8.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2024 at 14:41 UTC
Updated:
3 Mar 2025 at 15:49 UTC
Jump to comment: Most recent
We encounter this error while writing information to the log, when while saving the workflow with some error messages.
TypeError: strtr(): Argument #1 ($string) must be of type string, Drupal\Core\StringTranslation\TranslatableMarkup given in strtr() (line 78 of /var/www/html/vendor/drush/drush/src/Log/DrushLog.php).
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
alex_optimComment #7
johnvThanks. I solved it in another way. Comparing with other logError() calls, the message should not have been translated in the first place.