Page 1 of 2

PHP error on posting

Posted: Thu Dec 17, 2020 4:32 pm
by Scott B.
I've been seeing this error on posting. Posts are successful, but this is where I end up.

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)

Re: PHP error on posting

Posted: Fri Dec 18, 2020 4:36 pm
by flechero
same here- I get this every time I post:
[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)
ideas??

Re: PHP error on posting

Posted: Fri Dec 18, 2020 5:06 pm
by Tex1961
Happens every time I post. There is another thread on this, but I don’t think anyone ever addressed it.

Re: PHP error on posting

Posted: Fri Dec 18, 2020 5:19 pm
by ELB
#metoo

Re: PHP error on posting

Posted: Fri Dec 18, 2020 6:22 pm
by SQLGeek
It’s a forum error. I don’t think we can do anything about it.

Re: PHP error on posting

Posted: Fri Dec 18, 2020 7:09 pm
by 03Lightningrocks
Nothing new. It has been doing it for several weeks now.

Re: PHP error on posting

Posted: Fri Dec 18, 2020 10:50 pm
by SQLGeek
It may be browser specific as I made my reply above from my phone using Chrome and didn't get an error.

But I do with my Mac using Chrome.

Re: PHP error on posting

Posted: Fri Dec 18, 2020 11:25 pm
by 03Lightningrocks
SQLGeek wrote: Fri Dec 18, 2020 10:50 pm It may be browser specific as I made my reply above from my phone using Chrome and didn't get an error.

But I do with my Mac using Chrome.
I don't know if it is a different Chrome, but I use Chrome on my PC and still get the message. For some reason it has not happened yet today. It is sporadic.

Re: PHP error on posting

Posted: Sat Dec 19, 2020 7:46 am
by RoyGBiv
Same error for me. Using Firefox browser.

Happens on windows pc and Android tablet.

Re: PHP error on posting

Posted: Sat Dec 19, 2020 8:52 am
by The Annoyed Man
RoyGBiv wrote: Sat Dec 19, 2020 7:46 am Same error for me. Using Firefox browser.

Happens on windows pc and Android tablet.
It seems to have cleared up for me. I just now posted something in another thread, and it didn’t happen this time.

Edited to add:
Oops! Spoken too soon...... Safari, on an iPad Pro.....

.....and it didn’t happen on adding the above edit.

Re: PHP error on posting

Posted: Sat Dec 19, 2020 9:10 am
by ELB
The Annoyed Man wrote: Sat Dec 19, 2020 8:52 am
RoyGBiv wrote: Sat Dec 19, 2020 7:46 am Same error for me. Using Firefox browser.

Happens on windows pc and Android tablet.
It seems to have cleared up for me. I just now posted something in another thread, and it didn’t happen this time.

Edited to add:
Oops! Spoken too soon...... Safari, on an iPad Pro.....

.....and it didn’t happen on adding the above edit.
This was happening on MS Edge browser, which used to works w/o generating the error. Let me post this and see if it's cleared up.

Re: PHP error on posting

Posted: Sat Dec 19, 2020 9:11 am
by ELB
Well that was odd. Lemme try again.

ETA: OK! The PHP mode didn't happen, but it went to preview mode. Now it's working normally (for me).

Re: PHP error on posting

Posted: Sat Dec 19, 2020 9:27 am
by ELB
Spoke too soon. Just posted in another thread and got the PHP error.

Re: PHP error on posting

Posted: Sat Dec 19, 2020 2:08 pm
by RoyGBiv
Never any problem with Preview or Edit. Only Submit.
Started a few weeks ago.

Re: PHP error on posting

Posted: Sat Dec 19, 2020 8:15 pm
by The Annoyed Man
RoyGBiv wrote: Sat Dec 19, 2020 2:08 pm Never any problem with Preview or Edit. Only Submit.
Started a few weeks ago.
I’ve noticed the same thing......and PHP ERROR in 3....2....1....

Edit 1:
Yep, I was right, and this time it should be Ok.

Edit 2:
Yep, it was OK. So editing a post does not produce an error. Previewing your post does not produce an error. Submitting a new post produces the error.