SXA v1.7.1 with Sitecore v9.0.2
I'm regularly getting this error in Sitecore when trying to publish after I have restructured some items in
master database. If I delete the modified sub-tree from
web database and try to publish again then everything works fine.
Error as below -
17576 00:00:00 ERROR One or more exceptions occurred while processing the subscribers to the 'item:moving' event. Exception: System.NullReferenceException Message: Object reference not set to an instance of an object. Source: Sitecore.XA.Foundation.Multisite at Sitecore.XA.Foundation.Multisite.EventHandlers.VirtualMediaFolderValidator.OnItemMoving(Object obj, EventArgs args) at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object parameters, EventResult result)
Do anyone have any solution or workaround for this?