• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Error in template

Cees50

Active member
#1
I getting this error in the default template and in my custom template

Code:
Template Errors: PAGE_CONTAINER

    htmlspecialchars() expects parameter 1 to be string, array given in /home/dreamreef/domains/dreamreef.nl/public_html/library/XenForo/Template/Helper/Core.php, line 2062
This is when a specified user is logged in. other users dont get this ???
 

Mike

XenForo developer
Staff member
#2
First, having debug mode active on a live forum is a bad idea.

But you can rebuild user caches to fix it.
 

Cees50

Active member
#3
Debug was on doing some templating stuff ..:)

Thanks Mike, that did it. Now i know what i have to do, before trying to search in the templates :)