Cannot register, always get: The e-mail address is invalid (General)

by Auge ⌂, Wednesday, February 05, 2020, 09:19 (1596 days ago) @ WorldofBB

I actually sent you an e-mail about this on January 2nd because the issue also affects the addons forum at:


I sent the e-mail to the address listed as the contact page listed on the bottom of the main page of the addons site.

OMFG! I'm sorry, I found your e-mail in the spam filter of my mail client. :-(

Basically, this is the issue that is discussed in this thread:


It can be resolved by making the code change on line 393 in functions.inc.php from

if (!preg_match("/^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,}|[0-9]{1,3})(\]?)$/", $email))


if  ( ! filter_var ( $ email , FILTER_VALIDATE_EMAIL ) )  {

We changed that for MLF 2.5 but did not change it for the 2.4-branch.

So whatever caused the issue was code changes in php 7.3, and it appears to affect all versions of mlf 2.x that use that function.

And now I know, why you hit the trap in my forum. I changed from PHP 7.2 to 7.3 approximately two months ago and everything I tested worked. But I did not test every single function of the software.

The solution for me was to either make that code change or to revert the version of php on the server to 7.2 or lower.

I will add this information to the release page. Thank you for your investigation.

Tschö, Auge

Trenne niemals Müll, denn er hat nur eine Silbe!

Complete thread:

 RSS Feed of thread