XF 1.5 Template error after upgrading to 1.5.20

Stuart Wright

Well-known member
#1
Upgraded our sandbox. Get this error at the top of all pages:

Template Errors: PAGE_CONTAINER
  1. htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/sandbox/public_html/internal_data/templates/S.2,L.1,PAGE_CONTAINER.php, line 3115


Any help appreciated.
 

Russ

Well-known member
#3
I believe it’s due to the line where they changed the privacy policy and contact us link (page_container).
 

Joe Link

Well-known member
#5
Yep, just spent a while tracking this down.

Code:
<xen:if is="{$xenOptions.privacyPolicyUrl}"><li><a href="{$xenOptions.privacyPolicyUrl}">

Changed to

Code:
<xen:if is="{$privacyPolicyUrl}"><li><a href="{$privacyPolicyUrl}">
 
Top