Honestly the potential pitfalls I see have way more to do with how you do the
effect. Making the
trap functional while still physically strong enough to stand on is a problem that can be solved with a trip to a good hardware supply store. It's once you get it built that I have some serious questions.
Who opens the door? Who closes the door? How do you communicate to the actors that it is safe to stand on the
trap? Is there enough room underneath the
trap for the actor to disappear and still get the door closed fast enough without hitting them?
I'm not trying to discourage you from trying this
effect, but if you want to make it happen safely you need to sit down with all of the technicians involved (and your teacher it appears) and discuss how to make it work in your specific situation. Honestly lately I've spent more time in these kind of process planning meetings lately than anything that resembles performing a show. Ask questions like: "Who's responsibility is it to make sure the
trap is safe to walk on?", "What's the backup if the
trap isn't safe?" , "Does anyone see anything in the design that they are not confident will work safely?".