Crash:Assertion failed: IsInGameThread() || IsInSlateThread()" When updating widget with event dispatcher UE5

Hello,

I am doing a digital twin project in Unreal 5.4 and i am sending updated data from an actor (that receives and handles all the communication) to a clock widget, using event dispatchers (passing a text parameter with the time data).

I can print the data to console correctly from the clock widget event graph when the event dispatcher is triggered but when i try to actually set it to the clock widget, unreal imediatly crashes with this error - Assertion failed: IsInGameThread() || IsInSlateThread().

Screenshot of clock widget event graph : https://postimg.cc/87P6FLKC

I am very new to unreal, can someone provide a solution?