It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
From a quick look at your blocks, you are setting the list Carta with button components here, there and everywhere, but not necessarily at the correct moment in your workflow, which is creating the error. Set this list to a variable which will be created when your app starts, then use it wherever you need to call it.