Prevent Error If Fileset is Deleted
I have been stuck on this one for a long time. I am building a block that works with file sets. If the file set is deleted, I get a "Call to a member function getFileSetID() on a non-object" error. See attached.
What do I need to prevent an error from…