Lol this guy.

Information and error posts in regards to testing.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Guilhermeziat
Posts: 116
Joined: Wed Mar 20, 2013 5:16 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Lol this guy.

Postby Guilhermeziat » Fri Jul 05, 2013 6:42 am

http://prntscr.com/1dozv7

This guy with a japanese name created a room named Cn, and all the room titles below it just disappeared, dahell is going on XD

User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Lol this guy.

Postby Izzy » Sat Jul 06, 2013 10:37 am

So not all those people are in that room?

Guilhermeziat
Posts: 116
Joined: Wed Mar 20, 2013 5:16 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Lol this guy.

Postby Guilhermeziat » Sat Jul 06, 2013 7:25 pm


User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Lol this guy.

Postby Izzy » Sun Jul 07, 2013 5:14 pm

My best guess is that he had a character in there that acted as some kind of line break. Either on html or breaking the query.

I could have sworn we tested for this and made it impossible to embed html tags into the room names though. ;|

User avatar
Mezz
Posts: 32
Joined: Fri Oct 05, 2012 9:15 pm
Location: Vancouver, BC
Contact:

Re: Lol this guy.

Postby Mezz » Tue Jul 09, 2013 5:14 pm

I saw this happen a few times, (not sure if it was the same person,) but the name had a comma in between. Maybe that's what's causing it?

User avatar
Wafles
Posts: 74
Joined: Sat Nov 10, 2012 11:40 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Lol this guy.

Postby Wafles » Tue Jul 09, 2013 11:14 pm

This is literally the only time I've seen this, I shouldve taken a peek at the page source to see what the issue was.

User avatar
foxfire667
Moderator
Posts: 557
Joined: Sat Sep 29, 2012 5:09 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Lol this guy.

Postby foxfire667 » Fri Jul 12, 2013 10:37 pm

Might as well contribute to this, considering I just witnessed one hell of a mess up with the room lists:
Image

I guess perhaps some characters available for usernames might break the page a bit? I think is the guy, notice how not all of the characters show up in the image though, as opposed to the profile info.

User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Lol this guy.

Postby Izzy » Sun Jul 14, 2013 12:15 am

That seems to support the idea that the comma is the culprit. The coding might be using comma's as some kind of delimiter to split up text.

User avatar
Cube
Site Admin
Posts: 354
Joined: Mon Sep 24, 2012 10:18 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Lol this guy.

Postby Cube » Tue Jul 23, 2013 10:24 am

Comma isn't escaped in the name. Simple enough

@ENERGY
Posts: 7
Joined: Tue Sep 03, 2013 5:57 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Lol this guy.

Postby @ENERGY » Tue Sep 03, 2013 6:30 am

This is a game bug I think.If someone creates a blank named room then the server automatically shows him in a random room.Thats what I think it happened in this case.

houkouonchi
Site Admin
Posts: 156
Joined: Sun Sep 16, 2012 1:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Lol this guy.

Postby houkouonchi » Sun Sep 08, 2013 3:26 pm

The room info is JSON which is comma seperated values. I will need to modify the server-side to escape comma's in names to fix this.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Bug Reports ONLY”

Who is online

Users browsing this forum: No registered users and 5 guests