Small Bug when sending

I was getting tons of error messages in the error_log in my phplist root directory. It was the same 2 errors over and over. It looks like they were generated each time an email was sent out, so I got lots of them. The 2 errors are:

[19-Apr-2018 13:10:32 America/Detroit] PHP Warning:  syntax error, unexpected '(' in /home/user_name/public_html/lists/admin/locale//es_AR/language_info on line 1
 in /home/user_name/public_html/lists/admin/languages.php on line 19
[19-Apr-2018 13:10:32 America/Detroit] PHP Warning:  syntax error, unexpected '(' in /home/user_name/public_html/lists/admin/locale//pt_BR/language_info on line 1
 in /home/user_name/public_html/lists/admin/languages.php on line 19

The line in the php code that generates the error:

$lan = parse_ini_file($landir.'/'.$lancode.'/language_info'); 

But the 2 files that cause the error have parenthesis in them. This is causing the error. I just removed the parenthetical data and it stopped the error. Maybe they just need to be quoted. I didn’t check that out. But it’s a minor bug that should get fixed.

Great software, by the way. It’s working very well for me.

@mikekehrli The problem has been fixed and should be in the next release
https://mantis.phplist.org/view.php?id=18747

1 Like

Thank you. It probably is. I see 3.3.2 just came out. I have 3.3.1.