Problem/Motivation
The $message parameter passed to the LoggerInterface methods must be a literal string that uses placeholders. It's not a translatable string returned from t()/$this->t(), a string concatenation, a value returned from a function/method, nor a variable containing an exception object.
$this->logger->error($this->t('Error in the request: @message', ['@message' => $e->getMessage()]));
$this->logger->error($this->t('The JSON could not be obtained from the service provided.'));
$this->logger->error($this->t('The JSON could not be obtained from the service provided.'));
Proposed resolution
Review and update the module code.
Issue fork migrate_from_services-3571695
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
Comment #2
juandels3 commentedComment #4
juandels3 commentedComment #5
juandels3 commented