Dynamic Component error notification when delete

I have some problem when I use button to delete data.
the data has been deleted but an error notification appears.

here is my block…

Show your dynamic comp creation procedure

before recreating the elements

image

this is what you mean?
image

anybody help me?

Is this your complete block?
Where is that global variable?
Upon clicking the button are you recreating the same dynamic procedure?
If so where is such relevant block?
While recreating Dyna com you must use the block suggested by @Gaston
Are you using two dynamic comp extension? Why?

Pls use one if then block in when any button click

If isdynamic component
Then add your blocks.

The above error will occur usually while recreating or used wrong block in Dyna procedure