Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One or more exceptions occurred while processing the subscribers to the 'item:deleted:remote' event. #24

Open
stewpocalypse opened this issue Feb 3, 2021 · 3 comments

Comments

@stewpocalypse
Copy link

Found this error through our Sitecore 9.3 logs.

One or more exceptions occurred while processing the subscribers to the 'item:deleted:remote' event. Exception[1]: System.InvalidOperationException Message[1]: Invalid event arg type: Sitecore.Data.Events.ItemDeletedRemoteEventArgs. Expected: SitecoreEventArgs Source[1]: Sitecore.Kernel at Sitecore.Events.Event.ExtractParameters(EventArgs args) at Sitecore.Events.Event.ExtractParameter(EventArgs args, Int32 index) at Sitecron.Core.Events.SitecronDeletedHandler.OnItemDeleted(Object sender, EventArgs args) at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)

@JanBuehler
Copy link
Contributor

Are you in an environment with multiple CM? In case you're not I suggest to try removing the item:deleted:remote handler as the item:deleted event should do the job.
Which version of Sitecron are you running?

@JanBuehler
Copy link
Contributor

I've updated a file, if you compile from https://github.com/JanBuehler/Sitecron/tree/patch-1 it should fix your issue.

@azoli
Copy link

azoli commented Nov 19, 2021

I am experiencing the same issue. The errors appear after I scaled my CM environment to 2 instances.

@JanBuehler is it possible to release this branch as pre-release for Sitecore 9.3 to use it via NuGet package manager?

akshaysura added a commit that referenced this issue Feb 9, 2023
Fix Issue #24: "One or more exceptions occurred while processing the subscribers to the 'item:deleted:remote' event"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants