What defines a member to phpBB
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
Please post any phpBB 3.1.x related topics in the forum.
- igorw
- 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: What defines a member to phpBB
Please enable DEBUG and DEBUG_EXTRA in config.php. For some reason your DB connection is not working, perhaps you have the wrong connection details set in config.php?
- we're poor!
- igorw
- 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: What defines a member to phpBB
What version of phpBB are you running? Can you past the contents of includes\cache.php?
- we're poor!
Re: What defines a member to phpBB
I had a tought when I woke up: Is it possible that the MySQL connections are interfering with each other? The site and phpBB are running different databases, and different connections (phpBB uses $sql, the site uses $dbh) and neither are closed until at the end of the site.
Re: What defines a member to phpBB
Hmmm, then I'm not really sure what crashes it. I mean, Call to a member on a non-object undoubtedly is a php-error (not phpBB specific), but I'm unsure what causes it, and google gave no straight answers about what regular causes of the error is.
- igorw
- 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: What defines a member to phpBB
It's caused by overwriting $db. Are you doing that somewhere?
- we're poor!
Re: What defines a member to phpBB
No, can't find any reference to it outside of phpBB. The really odd thing though, is that the simple template-system causes the error to appear (and it has nothing that interferes with a MySQL-statement or $db).
Re: What defines a member to phpBB
Could it be a confused error? For example that phpBB uses a template-function that uses some of the same variable-names, and then replaces some part that phpBB also replaces, and therefore kills some phpBB function.
Return to “phpBB 3.0.x "Olympus" discussion”
Who is online
Users browsing this forum: No registered users and 6 guests