Hi.
For some reason you put the trigger event (green arrow) in the event every tick. Triggers should not be stuck anywhere, they are always triggered as soon as a condition occurs.
For some reason, saving is also called again after an error.
Here is my example of saving and loading an array.
kibaga.org/c3-example/file_uploads/index.php
Here is an example with variables.
kibaga.org/c3-example/file_uploads/index.php