Error on All Pages

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

  1. AWS

    AWS Administrator Admin Talk Staff

    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

    nothing here... on Opera.
     
  3. Brandon

    Brandon Regular Member

    Is this on the default style or miners style?
     
  4. AWS

    AWS Administrator Admin Talk Staff

    at-error.png

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

    Brandon Regular Member

    Thx, I'll check it out when I get home this evening.
     
  6. CM30

    CM30 Regular Member

    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

    What browser and version @AWS ?
     
  8. Creaky

    Creaky Regular Member

    Don't see that error at all, using Win 7, Firefox & Chrome
     
  9. zappaDPJ

    zappaDPJ Regular Member

    I don't see it either using the current versions of FF and IE.
     
  10. AWS

    AWS Administrator Admin Talk Staff

    Using Firefox. Don't think any addon is causing it.
     
  11. ragtek

    ragtek Regular Member

    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

    Not that I remember
     
  13. CM30

    CM30 Regular Member

    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

    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

    Brandon likes this.
  16. AWS

    AWS Administrator Admin Talk Staff

    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

    I've disabled debug mode, do you still see it @AWS
     
  18. AWS

    AWS Administrator Admin Talk Staff

    All gone. Pages loads much faster now also.
     
    Brandon likes this.
  19. Brandon

    Brandon Regular Member

    Good to know.
     

Share This Page