Well find were they're in use and change them a unique id thats not already in use.
If you have scripted alot by urself check those scripts. And scripts you have added after the download. Just find 7051 and 5007. use search function if ur using windows7 or vista.
Otherwise just idk? Find them and change ids
If it was this when you downloaded the datapack you can check from the thread you downloaded it from if there is someone else who has complaiend about this and maybe they know where this ids are.
Otherwise I asume you need you need to put down some time and finde those ids