Oracle Message ORA-00034 - cannot string in current PL/SQL session

ERRORcannot string in current PL/SQL session
CAUSEAn attempt was made to issue a commit or rollback from a PL/SQL object (procedure, function, package) in a session that has this disabled (by alter session disable commit in procedure)
ACTIONEnable commits from PL/SQL in this session, or do not attempt to use commit or rollback in PL/SQL when they are disabled in the current session.