W3C XHTML 1.0 Valide?

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
[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
CharlieM
New member
New member
Posts: 12
Joined: 02 Jan 2009, 15:05
[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

W3C XHTML 1.0 Valide?

Postby CharlieM » 13 Jan 2009, 11:52

Last edited by CharlieM on 13 Jan 2015, 00:01, edited 2 times in total.
Reason: Changed Topic Icon

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: W3C XHTML 1.0 Valide?

Postby RMcGirr83 » 13 Jan 2009, 11:57

Can you please disable the top posters section of the portal, then re-validate?

CharlieM
New member
New member
Posts: 12
Joined: 02 Jan 2009, 15:05
[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: W3C XHTML 1.0 Valide?

Postby CharlieM » 13 Jan 2009, 12:10

Last edited by CharlieM on 13 Jan 2009, 12:19, edited 1 time in total.

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: W3C XHTML 1.0 Valide?

Postby RMcGirr83 » 13 Jan 2009, 12:19

Can you switch the board language to english and revalidate again?

CharlieM
New member
New member
Posts: 12
Joined: 02 Jan 2009, 15:05
[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: W3C XHTML 1.0 Valide?

Postby CharlieM » 13 Jan 2009, 12:24

the Error comes only if "Recent Topic" AND "Hover-Mod" is in the Portal activated in all languages.

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: W3C XHTML 1.0 Valide?

Postby RMcGirr83 » 13 Jan 2009, 13:40


CharlieM
New member
New member
Posts: 12
Joined: 02 Jan 2009, 15:05
[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: W3C XHTML 1.0 Valide?

Postby CharlieM » 13 Jan 2009, 13:55

Last edited by CharlieM on 13 Jan 2009, 14:01, edited 1 time in total.

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: W3C XHTML 1.0 Valide?

Postby RMcGirr83 » 13 Jan 2009, 14:00

Just post up your entire recent.php file and I'll look at it.

CharlieM
New member
New member
Posts: 12
Joined: 02 Jan 2009, 15:05
[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: W3C XHTML 1.0 Valide?

Postby CharlieM » 13 Jan 2009, 14:03

This is my file (Portal/block/recent.php)

THX :oops:
Attachments
recent.zip
(1.7 KiB) Downloaded 29 times

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: W3C XHTML 1.0 Valide?

Postby RMcGirr83 » 13 Jan 2009, 14:18

Try the attached one instead...please make sure you have a backup of your original prior to overwriting the file.
Attachments
recent.zip
utf8 the problem?
(1.7 KiB) Downloaded 27 times

CharlieM
New member
New member
Posts: 12
Joined: 02 Jan 2009, 15:05
[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: W3C XHTML 1.0 Valide?

Postby CharlieM » 13 Jan 2009, 14:27


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: W3C XHTML 1.0 Valide?

Postby RMcGirr83 » 13 Jan 2009, 14:38


CharlieM
New member
New member
Posts: 12
Joined: 02 Jan 2009, 15:05
[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: W3C XHTML 1.0 Valide?

Postby CharlieM » 13 Jan 2009, 14:44

In "portal/block/announcements.php" i've found it 2x;
in "portal/block/news.php" 2x

i'll change it all.

I've to thx for your very good Job!


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

Who is online

Users browsing this forum: No registered users and 10 guests