Installation Problem in Smarty_Internal_Template

How to slove this type of issue?

Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiled is deprecated in C:\xampp\htdocs\ojs\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 C:\xampp\htdocs\ojs\lib\pkp\lib\vendor\smarty\smarty\libs\sysplugins\smarty_internal_template.php on line 719

Hello @Mir_Maruf_Ahmed,

Can you please indicate which specific version of OJS you’re using (e.g. 3.3.0-13)?

Thank you,

Roger
PKP Team

OJS 3.3.0-13 LTS, yes sir

OJS 3.3.0-10 LTS (.tar.gz) (49 MB)
i trying this version too but same error showing.

Hi @Mir_Maruf_Ahmed,

There’s a setting display_errors and deprecation_warnings at the config.inc.php, ensure both are “off”.

Best,
Jonas Raoni

image

it’s off already, but the same error occurred.

Hmm, perhaps it’s related to your PHP version :thinking:

As you’re using OJS 3.3.x, I’d recommended to keep the old PHP 7.4. Perhaps PHP 8.0/8.1 will work fine (we have tests running against these versions), but as the support was added quite recently, you might face unexpected issues.

We’re going to release OJS 3.4.0 (probably in a couple of weeks), which should work fine with PHP 8.1.

PHP 8.2 is definitely not supported at this moment, there are no tests running against it.

Best,
Jonas Raoni

1 Like

This topic was automatically closed after 22 days. New replies are no longer allowed.