primehalo / primelinks

A port of my phpBB3.0 Prime Links MOD to a phpBB3.1/3.2 extension.
GNU General Public License v2.0
2 stars 1 forks source link

PHP Warning when [url][/url] BBCode is empty #2

Closed tomS3210 closed 4 years ago

tomS3210 commented 5 years ago

Hello,

Thanks a lot for you exetension, i'm using it on my site www.forumgolf7.fr/forum and i have this issue. I know [url][/url] is not supposed to be empty but sometimes it is and then we have this error on the top of the forum page.

PHP Warning when [url][/url] BBCode is empty :

[phpBB Debug] PHP Warning: in file [ROOT]/ext/primehalo/primelinks/event/main_listener.php on line 487: strpos(): Empty needle

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4628: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3365)

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4628: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3365)

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4628: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3365)

Thanks for your help :-)

Regards Thomas

primehalo commented 5 years ago

Thanks for the report. I have updated with a fix.

tomS3210 commented 5 years ago

Hello,

1.1.6 installed and it is working, you are so fast, thanks a lot !

Have a good day

Regards

Thomas

Le 23 juil. 2019 à 20:19, Ken Innes IV notifications@github.com a écrit :

Thanks for the report. I have updated with a fix.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/primehalo/primelinks/issues/2?email_source=notifications&email_token=AAHH2UD7ES3MC4QJ2X22UTDQA5DSHA5CNFSM4IGGZ742YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2T7W6Q#issuecomment-514325370, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHH2UAFYYWJ2WWPKLZZZCTQA5DSHANCNFSM4IGGZ74Q.