XF 1.5 Template error with 1.5.21

MySiteGuy

Well-known member
Code:
PAGE_CONTAINER
[LIST=1]
[*]htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/internal_data/templates/S.2,L.1,PAGE_CONTAINER.php, line 23998
[/LIST]

Compiled template has:
Code:
if ($xenOptions['privacyPolicyUrl'])
{
$__compilerVar238 .= '<li><a href="' . htmlspecialchars($xenOptions['privacyPolicyUrl'], ENT_QUOTES, 'UTF-8') . '">' . 'Privacy Policy' . '</a></li>';
}

I'm getting this at the top of every page.[/code]
 
I think that this is likely down to outdated templates, or you've had outdated templates and the merging process hasn't gone to plan.

Ultimately, if you have any modifications in your "footer" template then you will either need to merge any changes if they're outdated or revert those templates and reapply any custom changes manually.
 
Back
Top Bottom