Fix for E_ALL reporting

Warning: substr() expects parameter 1 to be string, object given in CallAnyFunction.php on line 51