try and catch undef object exception
try and catch undef object exception
try and catch undef object exception
turn staging logging back on
grasping at straws a bit here
the error msg is so cryptic, try avoiding the method for now
revert previous, adding debugging
more debugging
revert uploader changes (maybe a config problem originally?)