Follow the instructions below carefully and ask if there's any doubt.
-Tools -> New Config -> Retain current configuration: All -> Apply
-Check all assignments and assign any missing disk(s) if needed, like old disk1
-Important - After checking the assignments leave the browser on that page, the "Main" page.
-Open an SSH session/use the console and type (don't copy/paste directly from the forum, as sometimes it can insert extra characters):
mdcmd set invalidslot 1 29
-Back on the GUI and without refreshing the page, just start the array, do not check the "parity is already valid" box (GUI will still show that data on parity disk(s) will be overwritten, this is normal as it doesn't account for the invalid slot command, but they won't be as long as the procedure was correctly done), disk1 will start rebuilding, disk should mount immediately (probably not in this case) but if it's unmountable don't format, wait for the rebuild to finish (or cancel it) and then run a filesystem check.