It was all of a sudden and it just stopped working. I have no clue what went wrong, what caused this to occur:
Could not instantiate event handler. Type: Sitecore.Publishing.HtmlCacheClearer. Method: ClearCaches (method: Sitecore.Events.Event+EventSubscribers.Add(String eventName, XmlNode configNode)).
I tried everything that would make it work but it didn't
- Re-copied my Sitecore files from Sitecore 7.2
- Re-Indexed my Solr
- Created a completely new Sitecore project
- Republished the complete site
- Banged my head on the desk
Can anyone tell me the reason for this and what could be the solution. I am fairly new to Sitecore.
Updating the publish:end
and publish:end:remote
<event name="publish:end">
<handler type="Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel" method="ClearCaches">
<sites hint="list">
<site>website</site>
</sites>
</handler>
</event>
<event name="publish:end:remote">
<handler type="Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel" method="ClearCaches">
<sites hint="list">
<site>website</site>
</sites>
</handler>
</event>
Sitecore.Kernel.dll
you have deployed and the version you have referenced in your VS project. – Naticapublish:end
andpublish:end:remote
events? – Calaboose