- Issue created by @joe.P
When using the php log function (https://www.php.net/manual/en/function.log.php) handles it as a function to log an error and fires the error message "In log(), the log level should be followed by a literal string. There should be no variables, concatenation, constants or even a t() call there." when passing a variable as first parameter. This is obviously a good validation for a logger function but not for the php log function which requires a number value as first parameter which normally comes from a variable.
The related code in my case was:
$x = log($resolution[0], 2);
which should not interfere with translation related validations.
Adjust the validation to ignore the php log function as it's unrelated to logging.
Active
1.0
Code