Cause
This error occurs if an attempt is made to create a persistent or shared transient instance of a class that is defined so that transient instances only are allowed to be created.
Action
Change the lifetime options of the class or create the object as a transient.