The solution is in the photo; after applying it, there are no more crashes caused by this error at all.