- Issue created by @bolaghi
- Issue was unassigned.
- 🇮🇳India dineshkumarbollu
Hi bolaghi
I am unable to reproduce the issue, The module install without any error in my system.
Drupal : 10.2
PHP : 8.1 1 am use virtualmin webpanel . server ubnutu22.04 and install multiple php , php8.2 and php8.1 . but my php set to php8.1 .
- 🇦🇺Australia elc
The stack trace you have provided is from un-installing the module:
#9 /home/tesjanebiir22/public_html/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(91): Drupal\Core\Extension\ModuleInstaller->uninstall()
And it's while attempting to write a drush log write out. Are you using the latest version of drush? And did you fully install the module before uninstalling it?
- Status changed to Needs work
10 months ago 7:04pm 21 January 2024 - 🇵🇹Portugal jcnventura
There's indeed a problem in that code, as there's two subsequent calls, first to the logger that doesn't accept translated strings, and then to the messenger that does take a translated string.. There's also a lot of complicated code wrangling to be able to call them in a single place that honestly does nothing to make this code easier to understand..
I'm committing something that is not pretty as it simply dumps the current action to the logger, but at least should get rid of this error and make the code easier to read.
-
jcnventura →
authored 3df1647f on 3.x
Issue #3413321 by jcnventura: Argument to logger must be of type string
-
jcnventura →
authored 3df1647f on 3.x
- Status changed to Fixed
10 months ago 7:06pm 21 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.