Updating to Smarty v3 generates error
I tried updating to smarty v3 and on contrib pages, I get the error below, even after updating form protection to 1.6. Oddly, I get the error when testing as an anonymous user (Drupal CMS) but I don't when testing as an admin.
===================================
$Fatal Error Details = array:3 [ "message" => "Unable to load template 'file:CRM/common/ReCAPTCHA.tpl'" "code" => null "exception" => SmartyException {#3557 #message: "Unable to load template 'file:CRM/common/ReCAPTCHA.tpl'" #code: 0 #file: "//vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php" #line: 195 trace: { //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:195 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:232 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116 { …} //vendor/civicrm/civicrm-core/CRM/Core/Region.php:81 { …} //vendor/civicrm/civicrm-core/CRM/Core/Region.php:157 { …} //vendor/civicrm/civicrm-core/CRM/Core/Smarty/plugins/block.crmRegion.php:26 { …} //web/sites/default/files/civicrm/templates_c/en_US/d8/b3/06/d8b306b89dd33b0c1180ce116a1f43098225d84e_0.file.default.tpl.php:67 { content_65ad3b3fb96a47_67696674(Smarty_Internal_Template $_smarty_tpl) › $_block_repeat=false; › echo smarty_block_crmRegion(array('name'=>'form-bottom'), ob_get_clean(), $_smarty_tpl, $_block_repeat); › } } //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385 { …} //web/sites/default/files/civicrm/templates_c/en_US/f3/13/53/f313536a9b3601d61e0da484f3778cb16ac613f1_0.file.CMSPrint.tpl.php:100 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385 { …} //web/sites/default/files/civicrm/templates_c/en_US/18/e0/0c/18e00ce8c05f236954630d220d722131bb46fd20_0.file.drupal8.tpl.php:31 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:232 { …} //vendor/civicrm/civicrm-packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116 { …} //vendor/civicrm/civicrm-core/CRM/Core/QuickForm/Action/Display.php:117 { …} //vendor/civicrm/civicrm-core/CRM/Core/QuickForm/Action/Display.php:83 { …} //vendor/civicrm/civicrm-packages/HTML/QuickForm/Controller.php:203 { …} //vendor/civicrm/civicrm-packages/HTML/QuickForm/Page.php:103 { …} //vendor/civicrm/civicrm-core/CRM/Core/Controller.php:355 { …} //vendor/civicrm/civicrm-core/CRM/Core/Invoke.php:322 { …} //vendor/civicrm/civicrm-core/CRM/Core/Invoke.php:69 { …} //vendor/civicrm/civicrm-core/CRM/Core/Invoke.php:36 { …} //web/modules/contrib/civicrm/src/Civicrm.php:88 { …} //web/modules/contrib/civicrm/src/Controller/CivicrmController.php:83 { …} Drupal\civicrm\Controller\CivicrmController->main() {} //web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123 { …} //web/core/lib/Drupal/Core/Render/Renderer.php:627 { …} //web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:121 { …} //web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:97 { …} //vendor/symfony/http-kernel/HttpKernel.php:181 { …} //vendor/symfony/http-kernel/HttpKernel.php:76 { …} //web/core/lib/Drupal/Core/StackMiddleware/Session.php:58 { …} //web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php:48 { …} //web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php:28 { …} //web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php:32 { …} //web/core/modules/page_cache/src/StackMiddleware/PageCache.php:106 { …} //web/core/modules/page_cache/src/StackMiddleware/PageCache.php:85 { …} //web/core/modules/ban/src/BanMiddleware.php:50 { …} //web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php:48 { …} //web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php:51 { …} //web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php:36 { …} //web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php:51 { …} //web/core/lib/Drupal/Core/DrupalKernel.php:704 { …} //web/index.php:19 { …} } } ]