Moderator Needed Prob

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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

Moderator Needed Prob

Postby 3kirts » 02 Sep 2009, 14:37

The reported posts says there is always 4 when there is actually none???? Ideas, solutions?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: Moderator Needed Prob

Postby RMcGirr83 » 02 Sep 2009, 14:40

Are you sure that is this mod and not another mod? You would be the first to have this issue.

3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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: Moderator Needed Prob

Postby 3kirts » 02 Sep 2009, 14:42

its your mod bro, I also noticed in your xml install on the subsilver2 it says no files included for install...mistake? hold on ill up a screenshot

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: Moderator Needed Prob

Postby RMcGirr83 » 02 Sep 2009, 14:49

There are no files included if done on the main install file. subsilver2 edits usually only include edits for subsilver2 and/or a file that is specific to subsilver2 based styles.

Do you have and other mods installed and I will need a link to your forum please.

3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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: Moderator Needed Prob

Postby 3kirts » 02 Sep 2009, 14:51

Well it wont let me post the screenshot...but its a screen shot that says 12 posts and only actually there are 8...

So even at 0 reported it will still say 4

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: Moderator Needed Prob

Postby RMcGirr83 » 02 Sep 2009, 14:56

That's nice...if you could please answer the question concerning any other mods installed and post a link to your forum (use www(dot)whatever(dot)com) please.

3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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: Moderator Needed Prob

Postby 3kirts » 02 Sep 2009, 15:03

There is really only 1 custom mod, but it affects the search.... I sent the link pm because i didnt want to post it here....

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: Moderator Needed Prob

Postby RMcGirr83 » 02 Sep 2009, 15:06


3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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: Moderator Needed Prob

Postby 3kirts » 02 Sep 2009, 15:18

sorry bro, have to wait, because i dont have access right now to do db changes/checks....unfortunately.

Kinda just a support guy,(amature). Was hoping kinda had an idea what might be wrong and i could go from there...

btw i like your nav bar(offtopic i know)..is that custom?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: Moderator Needed Prob

Postby RMcGirr83 » 02 Sep 2009, 15:19


3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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: Moderator Needed Prob

Postby 3kirts » 02 Sep 2009, 15:20

lol hook me up :P

3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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: Moderator Needed Prob

Postby 3kirts » 02 Sep 2009, 23:23

this is whats i found in reported colum
Rows post_reported
4382079 0
4 1

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: Moderator Needed Prob

Postby RMcGirr83 » 03 Sep 2009, 02:29

That is saying that there are reported posts in the table...4 to be exact.

In other words, your posts table seems to be a tad corrupted. It has nothing to do with the mod, but rather your database.

I would open a support ticket at phpbb.com to see why that may be as it has nothing to do with this modification.

3kirts
New member
New member
Posts: 9
Joined: 02 Sep 2009, 14:30
[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: Moderator Needed Prob

Postby 3kirts » 05 Sep 2009, 00:54

Thanks for the help, i went ahead an uninstalled because it causes MAJOR lag on the server...

Good mod and idea but resource hog....

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[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: Moderator Needed Prob

Postby RMcGirr83 » 05 Sep 2009, 03:43

Sorry, have to disagree.

If the server is configured correctly there should be no "lag". Three extra queries are done, but if taking your forum from 10 queries to 13 on the index.php page then, IMHO, you server isn't properly configured.

Appreciate the input none the less!! :)


[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 “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 44 guests