- Issue created by @the_g_bomb
- @the_g_bomb opened merge request.
- @the_g_bomb opened merge request.
- π¬π§United Kingdom the_g_bomb
Sorry, not sure what happened, but the the MR connected in #2 is for a different Issue that is unrelated to this one. No idea why it is connected to this.
MR in #3 should be tested - Status changed to Needs review
almost 2 years ago 12:33pm 23 March 2023 - Status changed to RTBC
almost 2 years ago 3:45pm 23 March 2023 - πΊπ¦Ukraine i-trokhanenko Lutsk πΊπ¦
The #39 patch solves the error for me. Thanks!
- Status changed to Needs work
almost 2 years ago 5:17pm 4 April 2023 - πΊπΈUnited States mglaman WI, USA
At first I thought we should pass an array.
watchdog($type, $message, $variables = array(), $severity = WATCHDOG_NOTICE, $link = NULL)
* @param $variables * Array of variables to replace in the message on display or * NULL if message is already translated or not possible to * translate.
But now I see it allows
null
andarray
.Here is the code from syslog:
'!message' => strip_tags((string) (!isset($log_entry['variables']) ? $log_entry['message'] : strtr($log_entry['message'], $log_entry['variables']))),
Thanks for the MR!
- Status changed to RTBC
almost 2 years ago 5:19pm 4 April 2023 -
mglaman β
committed db6b36fd on 7.x-4.x authored by
the_g_bomb β
Issue #3349846 by the_g_bomb: TypeError: strtr(): Argument #2 ($from)...
-
mglaman β
committed db6b36fd on 7.x-4.x authored by
the_g_bomb β
- πΊπΈUnited States mglaman WI, USA
Thanks! We have a pending release planned that will include this fix.
- Status changed to Fixed
almost 2 years ago 5:24pm 18 April 2023 Automatically closed - issue fixed for 2 weeks with no activity.