c# - Could not instantiate event handler. Type: Sitecore.Publishing.HtmlCacheClearer -
it of sudden , stopped working. have no clue went wrong, caused occur:
could not instantiate event handler. type: sitecore.publishing.htmlcacheclearer. method: clearcaches (method: sitecore.events.event+eventsubscribers.add(string eventname, xmlnode confignode)).
i tried make work didn't
- re-copied sitecore files sitecore 7.2
- re-indexed solr
- created new sitecore project
- republished complete site
- banged head on desk
can tell me reason , solution. new sitecore.
updating publish:end
, 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>
i may wrong simple spelling mistake in handler registration in events pipeline? looked @ source code sc 7.2 update 4 , there no method called sitecore.publishing.htmlcacheclearer.clearcaches, how ever there method called clearcache.
try change method name clearcache.
cheers, bo
Comments
Post a Comment