This issue is happening, this is happening when you create a output document and go back to previous step or leave a case, it created a duplicates and it shows function ereg_replace() is deprecated. I have fixed these and it's working fine, however there are some deprecated errors which are into ..thirdparty/html2ps_pdf, then we are going to wait the solucion from html2ps_pdf