PHP Error is showing on Homepage

I got the following error on my OJS after I opened the mentioned setting on the OJS Config file.
The version I am using is OJS 3.3.0 and PHP 7.4 and MariaDB 10.6.
error I got

Notice: Deprecated call without request object. in /var/www/html/ojs/lib/pkp/classes/template/ on line 1235

Notice: Deprecated call to Smarty2 function get_template_vars in /var/www/html/ojs/lib/pkp/classes/template/ on line 2296 file setting


; Display a stack trace when a fatal error occurs.
; Note that this may expose private information and should be disabled
; for any production system.
show_stacktrace = On

; Display an error message when something goes wrong.
display_errors = On

; Display deprecation warnings
deprecation_warnings = On

; Log web service request information for debugging
log_web_service_info = On

Hi @AFA,

just change the following two settings to Off.

Regards, Primoz