While loop problem

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
Luuq
New member
New member
Posts: 5
Joined: 26 Jul 2009, 22:02
[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: While loop problem

Postby Luuq » 26 Jul 2009, 22:05

Hey,

how and where i have do add the id of the forums exactly?

Luuq

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: While loop problem

Postby Obsidian » 26 Jul 2009, 22:56


Luuq
New member
New member
Posts: 5
Joined: 26 Jul 2009, 22:02
[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: While loop problem

Postby Luuq » 27 Jul 2009, 08:09

Hey,

thank you it works!

but now i have a error in the header.
you can see it here:

http://www.movieparkfans.de/news.php

i dont have any spaces before the <?php tag in /language/en/mods/lang_news_page.php

and i have a another question :D
how many news are displayed per page?

Luuq

sry for my english, im german :D

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: While loop problem

Postby Obsidian » 27 Jul 2009, 13:20


Luuq
New member
New member
Posts: 5
Joined: 26 Jul 2009, 22:02
[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: While loop problem

Postby Luuq » 27 Jul 2009, 13:25

hey,

the error seems to be gone :D

and the number of news per page works :D
thank you for the great mod.

luuq

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: While loop problem

Postby Obsidian » 27 Jul 2009, 13:28

No problem. I'm considering releasing it as an actual MOD sometime, after I get some stuff done. Need to make an ACP module for it and all that jazz. :)

Luuq
New member
New member
Posts: 5
Joined: 26 Jul 2009, 22:02
[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: While loop problem

Postby Luuq » 27 Jul 2009, 13:34

hey,

the error is back :D
he appears when there is no news which is to be displayed

you cann see it on my page :)

luuq

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: While loop problem

Postby Obsidian » 27 Jul 2009, 14:23


Luuq
New member
New member
Posts: 5
Joined: 26 Jul 2009, 22:02
[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: While loop problem

Postby Luuq » 27 Jul 2009, 14:38

It works, thank you. :)

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: While loop problem

Postby Obsidian » 27 Jul 2009, 14:50



[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 5 guests