Oracle Solution for Error ora-00034

ORA-00034: cannot string in current PL/SQL session

What triggered the Error:

An 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')

What should we do to fix it:

Enable 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.