XnForFanKN
Active member
I upgraded from XenForo 1.5.16 to XenForo 1.5.20 today, and I did the automatic template merge that the upgrade instructions say to do. After upgrading, I noticed this error at the top of the site:
Template Errors: PAGE_CONTAINER
htmlspecialchars() expects parameter 1 to be string, array given in /home/directory/community/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 23497:
23496: {
23497: $__compilerVar485 .= '<li><a href="' . htmlspecialchars($xenOptions['privacyPolicyUrl'], ENT_QUOTES, 'UTF-8') . '">' . 'Privacy Policy' . '</a></li>';
23498: }
What would be the best way to fix this error?
Template Errors: PAGE_CONTAINER
htmlspecialchars() expects parameter 1 to be string, array given in /home/directory/community/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 23497:
23496: {
23497: $__compilerVar485 .= '<li><a href="' . htmlspecialchars($xenOptions['privacyPolicyUrl'], ENT_QUOTES, 'UTF-8') . '">' . 'Privacy Policy' . '</a></li>';
23498: }
What would be the best way to fix this error?