Hello there,
phplist stops sending further emails after 1 email is sent if the UI language is german.
If I change the UI language to english it works perfectly.
I changed the UI language in the bottom left after the login.
What parameter could cause this behaviour? How do I fix it?
Thanks for this input.
It solved my issue.
I changed in the config.php $default_system_language from “de” to “en”.
Might solve your issue as well.
@Indiana.Horschd The problem looks to be related to the locale using comma instead of period as the decimal point.
Can you try making the small code change identified here to see whether it solves the problem? Just change ‘f’ to ‘F’ on four lines in file admin/connect.php then revert to using German language.
phpList:main
← bramley:timer_locale
opened 09:26PM - 30 Jan 23 UTC
## Description
There have been reports in the user forum about phplist failin… g after sending only one email https://discuss.phplist.org/t/v-3-6-10-with-php-8-0-x-problems/8526/16 .
One report https://discuss.phplist.org/t/campaign-stops-after-1-email-if-language-is-not-englisch/8627 narrowed it down to being related to the language, German in his case. Selecting English made the problem stop happening.
Looking more closely at the output provided showed comma being used as the decimal separator
```
Found them: 4 to process
Sending 2 to ab.c@xxx.yy
It took 0,0898380000 seconds to send
```
The timer class is returning the result of sprintf using the %f specifier, which is locale specific, causing a comma to be used for the decimal separator depending on the locale. The specifier %F needs to be used to ensure that a period is used as the decimal separator.
In php 8 the returned values cause a fatal error when used in calculations because they are not numeric. I think in php 7 it just caused a warning and carried on.
## Related Issue
## Screenshots (if appropriate):
I made the changes.
I will update this post, when I send a new campaign.
Just started a new campaign.
The solution worked, mails are being send as they should.
Thx
@Indiana.Horschd Thanks for confirming that.