Error on All Pages

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

  1. AWS

    AWS Administrator Admin Talk Staff

    1,616
    693
    818
    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

    159
    91
    394
    nothing here... on Opera.
     
  3. Brandon

    Brandon Regular Member

    6,602
    1,707
    918
    Is this on the default style or miners style?
     
  4. AWS

    AWS Administrator Admin Talk Staff

    1,616
    693
    818
    at-error.png

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

    Brandon Regular Member

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

    CM30 Regular Member

    901
    500
    462
    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

    6,602
    1,707
    918
    What browser and version @AWS ?
     
  8. Creaky

    Creaky Regular Member

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

    zappaDPJ Regular Member

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

    AWS Administrator Admin Talk Staff

    1,616
    693
    818
    Using Firefox. Don't think any addon is causing it.
     
  11. ragtek

    ragtek Regular Member

    238
    134
    418
    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

    6,602
    1,707
    918
    Not that I remember
     
  13. CM30

    CM30 Regular Member

    901
    500
    462
    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

    238
    134
    418
    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

    901
    500
    462
    Brandon likes this.
  16. AWS

    AWS Administrator Admin Talk Staff

    1,616
    693
    818
    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

    6,602
    1,707
    918
    I've disabled debug mode, do you still see it @AWS
     
  18. AWS

    AWS Administrator Admin Talk Staff

    1,616
    693
    818
    All gone. Pages loads much faster now also.
     
    Brandon likes this.
  19. Brandon

    Brandon Regular Member

    6,602
    1,707
    918
    Good to know.
     

Share This Page