Strange errors / warnings (does not exist. Trying to set the event )

I have an app which is essentially a note taking app.
Until recently the app has been functioning well but I have now started receiving awarning in the App Console : ’ Warning: frmMain.text_area_Notes_change does not exist. Trying to set the ‘change’ event handler of self.text_area_ResponseUpdate from frmMain.’
I have also started getting an alert warning me that my session has expired. If I click the ‘REFRESH NOW’ button the alert just pops up again. If I close the alert with the ‘X’ the app continues running without a fatal error.
I have searched through my code for a reference to frmMain.text_area_Notes_change but without success.

This usually means there used to be a function created and set in the event box in the IDE for an object that was created in the drag and drop editor, but the function no longer exists.

So one of these guys in the IDE has some text in one of these boxes that does not correspond to a function name, and it throws the ‘does not exist’ error:
image

I don’t know about the session expired warning though.

Edit:

I just cloned from your link, it looks like it’s this item, if you create an event, (this can happen through double clicking the object in the design editor) the function gets tagged with whatever name the item was called at the time, then if you change the items name, you might find the vestigial function later in your code and delete it.

2 Likes

Thanks ianbuywise. Spot on of course.