Could you provide the scene and steps to reproduce this issue? Currently, we have a known issue: opening Material editor in some scenes causes this error.
I get the same error in max 2018, makes the plugin unusable. Nothing to do with material editor in this case, appears just selecting ProRender in render settings.