Fatal error: Uncaught TypeError: APP\publicationFormat\PublicationFormatDAO::getById(): Return value must be of type APP\publicationFormat\PublicationFormat, null returned in /sftp/omp/classes/publicationFormat/PublicationFormatDAO.php:58
Stack trace:
#0 /sftp/omp/classes/publicationFormat/PublicationFormatDAO.php(174): APP\publicationFormat\PublicationFormatDAO->getById()
#1 /sftp/omp/pages/catalog/CatalogBookHandler.php(351): APP\publicationFormat\PublicationFormatDAO->getByBestId()
#2 [internal function]: APP\pages\catalog\CatalogBookHandler->download()
#3 /sftp/omp/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#4 /sftp/omp/lib/pkp/classes/core/PKPPageRouter.php(278): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#5 /sftp/omp/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route()
#6 /sftp/omp/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch()
#7 /sftp/omp/index.php(21): PKP\core\PKPApplication->execute()
#8 {main}
thrown in /sftp/omp/classes/publicationFormat/PublicationFormatDAO.php on line 58