PHP error on posting
Moderators: carlson1, Keith B, Charles L. Cotton
-
- Senior Member
- Posts in topic: 4
- Posts: 11451
- Joined: Tue Apr 08, 2008 5:15 pm
- Location: Plano
Re: PHP error on posting
Do any of you IT folks know what is causing it and how to fix it?
NRA-Endowment Member
http://www.planoair.com
http://www.planoairconditioningandheating.com
http://www.planoair.com
http://www.planoairconditioningandheating.com
-
- Senior Member
- Posts in topic: 3
- Posts: 3269
- Joined: Sun Feb 28, 2010 1:48 am
- Location: Richmond, TX
Re: PHP error on posting
Looks like something changed with the request submitted to the server. Really hard to say for sure without being able to look at the code.
Psalm 91:2
-
- Senior Member
- Posts in topic: 1
- Posts: 2115
- Joined: Mon Nov 19, 2007 5:24 pm
- Location: Marshall
Re: PHP error on posting
It seems to be a problem with whatever version of phpBB the forum is running on, and whichever version of PHP the site host is running.
Here is an article from the support section of the phpBB forum. If the webhost Charles uses is running php 7.2, that might be the issue. It seems some other sites have resolved the issues by downgrading to an earlier version of PHP.
There are several pages that reference this same error point to the same lines of code in the same files.
ETA: It also seems that your messages do actually post. When I hit submit, I got the same error. I went back to the end of this thread (cached from before I posted), and hit refresh. My post was there.
Here is an article from the support section of the phpBB forum. If the webhost Charles uses is running php 7.2, that might be the issue. It seems some other sites have resolved the issues by downgrading to an earlier version of PHP.
There are several pages that reference this same error point to the same lines of code in the same files.
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_messenger.php on line 506: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 1836: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)
NRA lifetime member
-
- Senior Member
- Posts in topic: 1
- Posts: 709
- Joined: Fri Dec 31, 2004 7:14 pm
- Location: Keller, TX
Re: PHP error on posting
Yep, I see it everytime I post something.
TX LTC Instructor, NRA Endowment Life Member, USPSA CRO
NRA Handgun/Rifle/Shotgun/Home Firearm Safety, Chief Range Safety Officer
NRA Handgun/Rifle/Shotgun/Home Firearm Safety, Chief Range Safety Officer
-
- Senior Member
- Posts in topic: 4
- Posts: 11451
- Joined: Tue Apr 08, 2008 5:15 pm
- Location: Plano
Re: PHP error on posting
NRA-Endowment Member
http://www.planoair.com
http://www.planoairconditioningandheating.com
http://www.planoair.com
http://www.planoairconditioningandheating.com