after asking google that gave a hint to the strpos() function I found a way to trigger this error:
echo strpos('hello', 'o', 10);
-> Warning: strpos() [function.strpos]: Offset not contained in string. in ...
do you use strpos() with the optional offset argument? then I'd echo the arguments to see what the look like.