Does anyone know how I may resolve this issue? I'm running CiviCRM 5.40.0 on WordPress 5.8.1. When I tried to create a new / update contact record, it will throw a PHP Fatal error with the following log:
[Tue Oct 05 21:39:31.389811 2021] [proxy_fcgi:error] [pid 2091:tid 140391877703424] [client 172.68.133.85:0] AH01071: Got error 'PHP message: PHP Fatal error: Smarty error: [in evaluated template line 1]: syntax error: unrecognized tag: , (Smarty_Compiler.class.php, line 441) in /webhost-file-path/wp-content/plugins/civicrm/civicrm/packages/Smarty/Smarty.class.php on line 1100', referer: website-address/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontact%2Fview&reset=1&cid=43
[Tue Oct 05 21:44:40.311374 2021] [proxy_fcgi:error] [pid 2090:tid 140392439719680] [client 162.158.255.225:0] AH01071: Got error 'PHP message: PHP Fatal error: Smarty error: [in evaluated template line 1]: syntax error: unrecognized tag: , (Smarty_Compiler.class.php, line 441) in /webhost-file-path/wp.sfcp.org/wp-content/plugins/civicrm/civicrm/packages/Smarty/Smarty.class.php on line 1100', referer: website/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontact%2Fadd&reset=1&ct=Individual
Does anyone know what the above log means? I'm looking at the smarty.php file, and line 441 is:
/**
* where assigned template vars are kept
*
* @var array
*/
var $_tpl_vars = array();
except that I have no idea what the assigned template variable is. It will be greatly appreciated if anyone would point me in the right direction on how to resolve the issue. Thanks!