Closed w3guy closed 1 year ago
Cc @nyamsprod
@w3guy I am not familiar with this package but the error message says it all the filtername parameter get something which is not a string. Why and how I'm afraid that I can't help you with. It depends how the class is being called and use
Apparently the linter throwed that error because $filtername and $param concrete implementation in the charset class didn't exactly comply with their definitions in php_user_filter.
Removing them fixed the issue.
I also discovered they are not in their respective latest version files. You probably removed them as their presence were redundant since you basically were redeclaring them.
indeed they got removed in 9.7.2 according to the tags
Bug Report
(Fill in the relevant information below to help triage your issue.)
The error is thrown by the WordPress plugin repository linter.