Problem/Motivation

[php] [error] TypeError: strtr(): Argument #1 ($string) must be of type string, Drupal\Core\StringTranslation\PluralTranslatableMarkup given in strtr() (line 70 of [...]/modules/contrib/otlog/src/Logger/OtLog.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork otlog-3480516

Command icon Show commands

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

znerol created an issue. See original summary.

znerol’s picture

See also PHP issue 12097. Since OtLog uses strict types, there will be no automated cast from Stringable to string.

znerol’s picture

  • znerol committed 3dae656d on 1.x
    Issue #3480516: TypeError: strtr(): Argument #1 ($string) must be of...
znerol’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.