Stumbled onto this one when running migrations:
Error: Cannot use object of type Drupal\Core\StringTranslation\TranslatableMarkup as array in Drupal\jsonlog\Logger\JsonLogData->setMessage() (line 96 of /modules/contrib/jsonlog/src/Logger/JsonLogData.php).
The error that was logged to dblog right before this one was:
"Did not save to map table due to NULL value for key field tid". I assume this is the log that makes Jsonlog throw the error.
Comments
Comment #2
lorenzs commentedAllthough the LoggerInterface is not expecting Drupal's TranslatableMarkup but plain strings I've built in a check in case it is.
Comment #4
lorenzs commentedIn release 8.x-1.2