[OJS 3.3.0.10] Several "Deprecated" errors

Hi,

My OJS is showing the following error message when trying to access the Submissions page:
image
Error message translation:
An unexpected error occurred. Please reload the page and try again. If the error persists, contact technical support.

I’ve set “display_errors = On” in my config.inc.php, so please, see: https://revistas.pge.sp.gov.br/index.php/index

Deprecated : Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/u860812024/domains/revistas.pge.sp.gov.br/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated : Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/u860812024/domains/revistas.pge.sp.gov.br/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated : Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in /home/u860812024/domains/revistas.pge.sp.gov.br/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 719

Deprecated : Creation of dynamic property Smarty_Internal_Extension_Handler::$getTemplateVars is deprecated in /home/u860812024/domains/revistas.pge.sp.gov.br/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php on line 182

I’m testing different versions of PHP, tried versions 8.2, 8.1, 8.0, 7.4 even 7.3 but the error messages persists regardless of the version.

So I don’t know how to fix this Deprecated error messages, can someone help me? Thanks in advance.

Hi @Tiago_Manzato_de_Sou,

Did this error appear out of nowhere, or did you upgrade or install a plugin?

If you haven’t done any of these, try cleaning the cache, if that doesn’t solve the problem, try upgrading to the latest OJS 3 version, 3.3.0-16 (use a test install and make a backup of your files and database before doing anything).

Best,
Josh

@jnoronha Thanks for your reply.

In the end it was some misconfiguration on my server’s PHP environment, once I disabled some unnecessary PHP options the site went back to normal.

But thanks anyway.
Tiago Manzato

Hi @Tiago_Manzato_de_Sou Which were the PHP options you unabled?