Properly installed an oil cooler will not create a problem, it is more likely that you had a low oil level, or no baffling like suggested above, or some foreign material in your oil.