Error on All Pages

Discussion in 'Admin Talk Support & Feedback' started by AWS, Jun 16, 2013.

  1. AWS

    AWS Administrator

    Joined:
    Feb 1, 2010
    Messages:
    1,616
    Likes Received:
    692
    Location:
    Joliet, IL U.S.A.
    First Name:
    Bob
    Am I the only one seeing this?

    PHP:
    Template ErrorsPAGE_CONTAINER
     
        htmlspecialchars
    () expects parameter 1 to be string, array given in /home/admntalk/public_html/library/XenForo/Template/Helper/Core.phpline 1913:
     
        
    1912: </footer>
        
    1913:
        
    1914';
     
    I ask because it seems no else is. I see this at the top of every page.
     
  2. maksim

    maksim Regular Member

    Joined:
    Mar 3, 2013
    Messages:
    159
    Likes Received:
    91
    Location:
    Dirty Jersey
    nothing here... on Opera.
     
  3. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    Is this on the default style or miners style?
     
  4. AWS

    AWS Administrator

    Joined:
    Feb 1, 2010
    Messages:
    1,616
    Likes Received:
    692
    Location:
    Joliet, IL U.S.A.
    First Name:
    Bob
    at-error.png

    Show on both styles and even the mobile style for me.
     
  5. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    Thx, I'll check it out when I get home this evening.
     
  6. CM30

    CM30 Regular Member

    Joined:
    Jul 1, 2012
    Messages:
    901
    Likes Received:
    500
    I'm not seeing any errors here (using that same style and Firefox). Are you using any sort of interesting browser setup? Did you fill in any form fields beforehand?
     
    Brandon likes this.
  7. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    What browser and version @AWS ?
     
  8. Creaky

    Creaky Regular Member

    Joined:
    Aug 15, 2011
    Messages:
    310
    Likes Received:
    96
    Location:
    London
    Don't see that error at all, using Win 7, Firefox & Chrome
     
  9. zappaDPJ

    zappaDPJ Regular Member

    Joined:
    May 27, 2013
    Messages:
    250
    Likes Received:
    165
    Location:
    London, England
    I don't see it either using the current versions of FF and IE.
     
  10. AWS

    AWS Administrator

    Joined:
    Feb 1, 2010
    Messages:
    1,616
    Likes Received:
    692
    Location:
    Joliet, IL U.S.A.
    First Name:
    Bob
    Using Firefox. Don't think any addon is causing it.
     
  11. ragtek

    ragtek Regular Member

    Joined:
    Dec 25, 2009
    Messages:
    238
    Likes Received:
    134
    Who's on your ignore list?
    somebody with an special character?

    It's definitly something with the ignore feature.
    Brandon, did you install any addons changing something inside the ignore feature?
     
  12. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    Not that I remember
     
  13. CM30

    CM30 Regular Member

    Joined:
    Jul 1, 2012
    Messages:
    901
    Likes Received:
    500
    Well, I tried ignoring a whole bunch of random people from the member list with special characters in their name (!, ', _, etc) and none have caused any errors like that for me. Must be an unusual name or something.
     
  14. ragtek

    ragtek Regular Member

    Joined:
    Dec 25, 2009
    Messages:
    238
    Likes Received:
    134
    I've tried it too, and wasn't able to reproduce it to...
    It was also just a stupid guess, because the relevant code on line 1913 would work with special charcaters too...



    PHP:
     public static function helperIgnoredCss(array $ignoredUsers)
    {
    if (empty(
    $ignoredUsers))
    {
    return 
    '';
    }
     
    $selectors = array();
    foreach (
    $ignoredUsers AS $username)
    {
    $selectors[] = '*[data-author="' htmlspecialchars($username) . '"]';
    }
     
    return 
    '';//<style id="ignoredUserCss">' . implode(', ', $selectors) . ' { display: none; } </style>';
    }
     
  15. CM30

    CM30 Regular Member

    Joined:
    Jul 1, 2012
    Messages:
    901
    Likes Received:
    500
    Brandon likes this.
  16. AWS

    AWS Administrator

    Joined:
    Feb 1, 2010
    Messages:
    1,616
    Likes Received:
    692
    Location:
    Joliet, IL U.S.A.
    First Name:
    Bob
    I tried with Chrome and IE 10. Same thing happens. I also tried with addons disabled in Firefox and still get the error. It sure is strange that no one else is seeing it. I wonder if it has something to do with the new member thing on the main page causing it.
     
  17. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    I've disabled debug mode, do you still see it @AWS
     
  18. AWS

    AWS Administrator

    Joined:
    Feb 1, 2010
    Messages:
    1,616
    Likes Received:
    692
    Location:
    Joliet, IL U.S.A.
    First Name:
    Bob
    All gone. Pages loads much faster now also.
     
    Brandon likes this.
  19. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    Good to know.
     

Share This Page