If you’re getting a nasty error that looks like this
when trying to open a rendering that you recently created rendering parameters for, this could fix your problem!
You need to make sure that your parameter’s template is inheriting from Standard Rendering Parameters. I had hastily duplicated an existing template I had that inherited from Standard template and received the error from above. A simple base template switch fixed my problem.
Read more here.