Cambio de servidor muestra error en carga de PDF

Buenos días, he actualizado mi servidor y ahora no puedo ver los documentos en PDF, tampoco en el backend puedo ver los archivos publicados previamente.
Si me pueden ayudar, tengo:
OJS 3.4.0.5
PHP 8.2.26
necesito su ayuda por favor.

  1. No veo archivados

  2. No abren PDF

  3. los error_log que puestra son:
    [04-Dec-2024 23:30:29 UTC] PHP Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/luismurillo/public_html/plugins/generic/piwik/PiwikPlugin.php on line 114
    [04-Dec-2024 23:30:30 UTC] PHP Fatal error: Uncaught Error: Class “finfo” not found in /home/luismurillo/public_html/lib/pkp/lib/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php:48
    Stack trace:
    #0 /home/luismurillo/public_html/lib/pkp/lib/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(83): League\MimeTypeDetection\FinfoMimeTypeDetector->__construct()
    #1 /home/luismurillo/public_html/lib/pkp/classes/services/PKPFileService.php(43): League\Flysystem\Local\LocalFilesystemAdapter->__construct(‘/home/luismuril…’, Object(League\Flysystem\UnixVisibility\PortableVisibilityConverter), 2, 2)
    #2 /home/luismurillo/public_html/classes/services/OJSServiceProvider.php(37): PKP\services\PKPFileService->__construct()
    #3 /home/luismurillo/public_html/lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php(122): APP\services\OJSServiceProvider->APP\services{closure}(Object(Pimple\Container))
    #4 /home/luismurillo/public_html/lib/pkp/classes/core/PKPServices.php(84): Pimple\Container->offsetGet(‘file’)
    #5 /home/luismurillo/public_html/lib/pkp/classes/core/PKPServices.php(60): PKP\core\PKPServices->_getFromContainer(‘file’)
    #6 /home/luismurillo/public_html/pages/article/ArticleHandler.php(486): PKP\core\PKPServices::get(‘file’)
    #7 [internal function]: APP\pages\article\ArticleHandler->download(Array, Object(APP\core\Request))
    #8 /home/luismurillo/public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func(Array, Array, Object(APP\core\Request))
    #9 /home/luismurillo/public_html/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\core\Request), Array, false)
    #10 /home/luismurillo/public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route(Object(APP\core\Request))
    #11 /home/luismurillo/public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
    #12 /home/luismurillo/public_html/index.php(21): PKP\core\PKPApplication->execute()
    #13 {main}
    thrown in /home/luismurillo/public_html/lib/pkp/lib/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php on line 48
    [04-Dec-2024 23:30:31 UTC] PHP Fatal error: Uncaught Error: Class “finfo” not found in /home/luismurillo/public_html/lib/pkp/lib/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php:48
    Stack trace:
    #0 /home/luismurillo/public_html/lib/pkp/lib/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(83): League\MimeTypeDetection\FinfoMimeTypeDetector->__construct()
    #1 /home/luismurillo/public_html/lib/pkp/classes/services/PKPFileService.php(43): League\Flysystem\Local\LocalFilesystemAdapter->__construct(‘/home/luismuril…’, Object(League\Flysystem\UnixVisibility\PortableVisibilityConverter), 2, 2)
    #2 /home/luismurillo/public_html/classes/services/OJSServiceProvider.php(37): PKP\services\PKPFileService->__construct()
    #3 /home/luismurillo/public_html/lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php(122): APP\services\OJSServiceProvider->APP\services{closure}(Object(Pimple\Container))
    #4 /home/luismurillo/public_html/lib/pkp/classes/core/PKPServices.php(84): Pimple\Container->offsetGet(‘file’)
    #5 /home/luismurillo/public_html/lib/pkp/classes/core/PKPServices.php(60): PKP\core\PKPServices->_getFromContainer(‘file’)
    #6 /home/luismurillo/public_html/pages/article/ArticleHandler.php(486): PKP\core\PKPServices::get(‘file’)
    #7 [internal function]: APP\pages\article\ArticleHandler->download(Array, Object(APP\core\Request))
    #8 /home/luismurillo/public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func(Array, Array, Object(APP\core\Request))
    #9 /home/luismurillo/public_html/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\core\Request), Array, false)
    #10 /home/luismurillo/public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route(Object(APP\core\Request))
    #11 /home/luismurillo/public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
    #12 /home/luismurillo/public_html/index.php(21): PKP\core\PKPApplication->execute()
    #13 {main}
    thrown in /home/luismurillo/public_html/lib/pkp/lib/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php on line 48

Ya solucioné el problema perdón. Era una falta de extensiones de PHP, una vez agregadas, todo funcionó bien.

1 Like