Trigger a timer from another timer

Hello,

I have a main timer which at times must start a second timer that is set to mode=0. The main timer, when it needs the second one, just sets the mode to 2 for that timer, until it gets off by itself at some point.

It seems that at the instruction of changing the mode, there is a crash. I get a report which says that the cause is related to a callback function error. I don’t know exactly what it means. And at the top of the report, it tells me that the app crashed while refreshing the menubar.

I wanted to know how to relate the two timers to each other in order to prevent this error.

Regards,
Payam

Post your code - even better an example. Post the crash. Which OS? Which version of the OS? Which version of Xojo?