OMP 1.2: Error when downloading chapters

Good day,
We have published chapters for a book, we are approved them and made them open access but when users try to access them it gives this error: Fatal error: Call to undefined method PublicationFormat::getFileType() in /var/www/html/ojs/omp/cidb/plugins/viewableFiles/pdfSubmissionFile/ on line 59

We have just upgraded this book to OMP 1.2. Your help will be greatly assisted.

Hi @AndiswaM,

That plugin was in OMP 1.x but not OMP 1.2.x; how did you update your code?

Alec Smecher
Public Knowledge Project Team