Looping with local db doesn’t work anymore

Hello,

Since the latest app update i’m experiencing constant crashes with my app. My app uses loops with the data from local db and each time the execution gets to the loop the app crash.

Does anyone else experience this problem?

Thank you!

How often does it get value from database?