OJS 3.2.1.1 Error The file could not be uploaded or revised

After my journal was hacked and the file was restored by the server provider, I got this message.

all stages could not be uploaded

Error messages only

[14-Nov-2024 18:03:31 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home/jurnal/plugins/generic/allowedUploads/AllowedUploadsPlugin.inc.php on line 108
[14-Nov-2024 18:03:31 UTC] PHP Warning:  Creating default object from empty value in /home/jurnal/cache/t_compile/a95e9f20492587d73a4f35fa465ca6ee809b9709^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[14-Nov-2024 18:03:31 UTC] PHP Warning:  Creating default object from empty value in /home/jurnal/cache/t_compile/a95e9f20492587d73a4f35fa465ca6ee809b9709^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30

and files_dir set to chmod 755

please someone help me. I think this is a damage code

Thank you

I try to install new OJS with the same version, and I got this error messages

PHP Fatal error:  Uncaught Error: Call to a member function getOption() on null in /home/polgnac/owner.polgan.ac.id/ojs/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.php:36
Stack trace:
#0 /home/polgnac/owner.polgan.ac.id/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6736d238bd08d0_69742573(Object(Smarty_Internal_Template))
#1 /home/polgnac/owner.polgan.ac.id/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#2 /home/polgnac/owner.polgan.ac.id/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#3 /home/polgnac/owner.polgan.ac.id/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)
#4 in /home/polgnac/owner.polgan.ac.id/ojs/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.php on line 36