Remove unneccessary parameter from array_walk callback
Remove unneccessary try...catch