Remove trigger_error() calls

There are better ways of handling issues. With this in place, the import will stop after the 4th image due tp notice that is thrown from one of these trigger_error() calls.