This question already has an answer here:
When trying to compile my report, I receive an error related to the
subcaption package (which I load in my preamble):
! Package subcaption Error: This package can't be used in cooperation (subcaption) with the subfig package.
After some research, I found that the
subfig packages cannot be used at the same time. The problem is that I don't load
subfig explicitly anywhere in my preamble. It must get loaded somehow, but I don't know where in my input file. How can I find that out?