includes/functions.php error

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
Aaronh0103
Registered User
Posts: 17
Joined: Wed Mar 16, 2016 4:53 pm
Name: Aaron Hodges

includes/functions.php error

Post by Aaronh0103 »

Hi my site is having an issue with the includes/functions.php file. When not logged into the site, I receive an error on the home screen, “phpBB [Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4396: Invalid argument supplied for foreach()”

When I navigate to that folder in my cpanel that line reads: “foreach($groups as $grouprec)” and I’m not sure how to fix this error. Any suggestions to fix this would be much appreciated! :D
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: includes/functions.php error

Post by david63 »

What PHP version are you using?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Aaronh0103
Registered User
Posts: 17
Joined: Wed Mar 16, 2016 4:53 pm
Name: Aaron Hodges

Re: includes/functions.php error

Post by Aaronh0103 »

According to Cpanel I am currently using: 5.5.36. However when I go to "Select PHP Version" in Software and Services it states that I am using PHP 7.2. My board in ACP is showing 7.2.1 also.

Do I need to roll 7.2 back to 5.5.36?
Post Reply

Return to “[3.2.x] Support Forum”