Those errors are PHP's error message - they have nothing to do with John or any vB developers.

PHP's old way of documenting function usage was something similar to:
string str_replace (string needle, string pin, string haystack)
You'd find the needle in the haystack and replace it with the pin. Hence the first argument has to be >0 characters.