template error help

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
[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
psykx
New member
New member
Posts: 10
Joined: 12 Feb 2008, 17:01
[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

template error help

Postby psykx » 24 Feb 2008, 14:11


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[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: template error help

Postby igorw » 24 Feb 2008, 15:51

Hi,

can you paste the contents of the template file plus the contents of the /cache/ file?

- we're poor!

psykx
New member
New member
Posts: 10
Joined: 12 Feb 2008, 17:01
[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: template error help

Postby psykx » 24 Feb 2008, 16:42


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[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: template error help

Postby igorw » 24 Feb 2008, 19:37

Are you sure that is the correct cache file? :dah:

- we're poor!

psykx
New member
New member
Posts: 10
Joined: 12 Feb 2008, 17:01
[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: template error help

Postby psykx » 25 Feb 2008, 12:33

the cache file path was pulled from the error message above. Just to add that all the template files in my project fail with the same error. Still absolutely no idea why I might do a fresh install of phpbb3 and install my project over the top just to rule that out

psykx
New member
New member
Posts: 10
Joined: 12 Feb 2008, 17:01
[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: template error help

Postby psykx » 25 Feb 2008, 18:21


User avatar
Lord Le Brand
Website Team
Website Team
Posts: 223
Joined: 08 Sep 2006, 15:44
Real name: Leroy
Location: Parkstad, Limburg, the Netherlands (GMT+1)
[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: template error help

Postby Lord Le Brand » 25 Feb 2008, 23:06

You are missing an ENDIF in wiki_header.html ;)

psykx
New member
New member
Posts: 10
Joined: 12 Feb 2008, 17:01
[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: template error help

Postby psykx » 28 Feb 2008, 22:42

almost it was a file that I forgot I included in wiki_header.html
thanks guys I'm so relieved


[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 “phpBB Development discussion”

Who is online

Users browsing this forum: No registered users and 29 guests