I have a Sitecore Adaptive Images module in one of our Sitecore applications. I just finished upgrading it from 7.2 to 8.2. I am now doing some fine-tuning. I see the error below in the log. How can I fix this?
13320 15:15:36 ERROR Error loading hook: Exception: System.NotSupportedException Message: Specified method is not supported. Source: Sitecore.Kernel at Sitecore.Resources.Media.MediaManager.set_Provider(MediaProvider value) at SitecoreAdaptiveImages.AdaptiveImagesMediaProviderHook.Initialize() in C:\Projects\OmniHotels\Source\C2\Upgrade-branch\SitecoreAdaptiveImages\AdaptiveImagesMediaProviderHook.cs:line 9 at Sitecore.Events.Hooks.HookManager.LoadAll()
It is complaining about this line in the code for the hook. How do I fix it?