Deprecated: Return type of GeoIp2\Model\AbstractModel::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/ofs/vendor/geoip2/geoip2/src/Model/AbstractModel.php on line 58
Deprecated: Return type of GeoIp2\Record\AbstractRecord::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/ofs/vendor/geoip2/geoip2/src/Record/AbstractRecord.php on line 56
Fatal error: Uncaught SmartyCompilerException: Syntax error in template "file:/var/www/ofs/modules/stripepro/views/templates/hook/subscribe.tpl" on line 28 "var product_subs = {$product_subs|json_encode|raw};" unknown modifier 'raw' in /var/www/ofs/modules/stripepro/views/templates/hook/subscribe.tpl:28
Stack trace:
#0 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php(156): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(749): Smarty_Internal_Compile_Private_Modifier->compile()
#2 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(1486): Smarty_Internal_TemplateCompilerBase->callTagCompiler()
#3 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(550): Smarty_Internal_TemplateCompilerBase->compileTag2()
#4 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2420): Smarty_Internal_TemplateCompilerBase->compileTag()
#5 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2777): Smarty_Internal_Templateparser->yy_r96()
#6 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2872): Smarty_Internal_Templateparser->yy_reduce()
#7 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(128): Smarty_Internal_Templateparser->doParse()
#8 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(466): Smarty_Internal_SmartyTemplateCompiler->doCompile()
#9 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(395): Smarty_Internal_TemplateCompilerBase->compileTemplateSource()
#10 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(184): Smarty_Internal_TemplateCompilerBase->compileTemplate()
#11 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(141): Smarty_Template_Compiled->compileTemplateSource()
#12 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(105): Smarty_Template_Compiled->process()
#13 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#14 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#15 /var/www/ofs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#16 /var/www/ofs/classes/Smarty/SmartyCustomTemplate.php(45): Smarty_Internal_TemplateBase->fetch()
#17 /var/www/ofs/classes/module/Module.php(2232): SmartyCustomTemplateCore->fetch()
#18 /var/www/ofs/modules/stripepro/stripepro.php(491): ModuleCore->display()
#19 /var/www/ofs/classes/Hook.php(1043): StripePro->hookDisplayHeader()
#20 /var/www/ofs/classes/Hook.php(418): HookCore::coreCallHook()
#21 /var/www/ofs/classes/Hook.php(981): HookCore::callHookOn()
#22 /var/www/ofs/override/classes/Hook.php(7): HookCore::exec()
#23 /var/www/ofs/classes/controller/FrontController.php(580): Hook::exec()
#24 /var/www/ofs/override/classes/controller/FrontController.php(45): FrontControllerCore->initContent()
#25 /var/www/ofs/controllers/front/ProductController.php(465): FrontController->initContent()
#26 /var/www/ofs/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#27 /var/www/ofs/classes/Dispatcher.php(510): ControllerCore->run()
#28 /var/www/ofs/override/classes/Dispatcher.php(39): DispatcherCore->dispatch()
#29 /var/www/ofs/index.php(28): Dispatcher->dispatch()
#30 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: Syntax error in template "file:/var/www/ofs/modules/stripepro/views/templates/hook/subscribe.tpl" on line 28 "var product_subs = {$product_subs|json_encode|raw};" unknown modifier 'raw' in /var/www/ofs/classes/Hook.php:431
Stack trace:
#0 /var/www/ofs/classes/Hook.php(981): HookCore::callHookOn()
#1 /var/www/ofs/override/classes/Hook.php(7): HookCore::exec()
#2 /var/www/ofs/classes/controller/FrontController.php(580): Hook::exec()
#3 /var/www/ofs/override/classes/controller/FrontController.php(45): FrontControllerCore->initContent()
#4 /var/www/ofs/controllers/front/ProductController.php(465): FrontController->initContent()
#5 /var/www/ofs/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#6 /var/www/ofs/classes/Dispatcher.php(510): ControllerCore->run()
#7 /var/www/ofs/override/classes/Dispatcher.php(39): DispatcherCore->dispatch()
#8 /var/www/ofs/index.php(28): Dispatcher->dispatch()
#9 {main}
thrown in /var/www/ofs/classes/Hook.php on line 431