Its hard to pin-point the issue without looking at the code. But it might be possible that some dependent code is broken. Would recommend checking the code again for any small errors
If not resolved, I would happy to help here.
Can i share my code here? or is it against the community rules?
I have sent a direct message for the code.
I have posted my code in the direct message can you please take a look into that.