Simple mentions

Getting an error message whenever I post a reply/new thread. - Simple mentions

Getting an error message whenever I post a reply/new thread.

by spiritatbay » Mon Feb 17, 2020 1:48 am

[phpBB Debug] PHP Warning: in file [ROOT]/ext/paul999/mention/event/main_listener.php on line 359: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 1823: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3037)
google search led me to a previous problem like this, with the php version being at fault.
the curious thing is that it happens when the post DOESN'T include the mention tags. if the post has it, the post goes through and no error message. if it doesn't have the tag, then it sends to the error message, but the post is sent through.

I'm on version 3.3, php 7.2
spiritatbay
Registered User
Posts: 54
Joined: Mon Feb 06, 2017 1:37 am
Contact:

Re: Getting an error message whenever I post a reply/new thr

by Paul » Mon Feb 17, 2020 7:01 am

Make sure to upgrade to the latest version of the extesnion.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26134
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact: