We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a user is not given a firstname and/or lastname, this error is shown:
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/cal/includes/user.php on line 493
In MySQL, changing the default for those two columns from NULL to '' would be a quick fix.
And these:
Warning: Undefined array key "SMTP_USERNAME" in /admin.php on line 776 Warning: Undefined array key "SMTP_PASSWORD" in /admin.php on line 781
In admin.php, change: $s['SMTP_PASSWORD'] ?: '' to: $s['SMTP_PASSWORD'] ??= ''
$s['SMTP_PASSWORD'] ?: ''
$s['SMTP_PASSWORD'] ??= ''
and $s['SMTP_USERNAME'] ?: '' to: $s['SMTP_USERNAME'] ??= ''
$s['SMTP_USERNAME'] ?: ''
$s['SMTP_USERNAME'] ??= ''
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If a user is not given a firstname and/or lastname, this error is shown:
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/cal/includes/user.php on line 493
In MySQL, changing the default for those two columns from NULL to '' would be a quick fix.
And these:
In admin.php, change:
$s['SMTP_PASSWORD'] ?: ''
to:
$s['SMTP_PASSWORD'] ??= ''
and
$s['SMTP_USERNAME'] ?: ''
to:
$s['SMTP_USERNAME'] ??= ''
The text was updated successfully, but these errors were encountered: