array(sprintf('<warning>...more information.', '') is of type array<integer,string,{"0..."string","4":"string"}>, but the function expects a string|object<Symfony\Co...onsole\Output\iterable>.
It seems like the type of the argument is not accepted by the function/method
which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this
might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example:
functionacceptsInteger($int){}$x='123';// string "123"// Instead ofacceptsInteger($x);// we recommend to useacceptsInteger((integer)$x);
Loading history...
43
sprintf('<warning>Cache fallback folder %s was found.</warning>', $tempVarDir),
44
'',
45
'n98-magerun2 is using the fallback folder. If there is another folder configured for Magento, this ' .
46
'can cause serious problems.',
47
'Please refer to https://github.com/netz98/n98-magerun/wiki/File-system-permissions ' .
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: