Skip to content
New issue

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

Errors: Passing null to parameter #1 ($string) of type string is deprecated #433

Open
rocnateb opened this issue Jul 29, 2024 · 0 comments

Comments

@rocnateb
Copy link

Hi!

I'm using Ubuntu 24.04 with PHP 8.3.6. I've installed TCExam without any issues, but I'm encountering some warnings when trying to add a new user. Here are the warnings I'm seeing:

ATTENTION: [8192] htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated | LINE: 408 | FILE: /var/www/html/tcexam/admin/code/tce_functions_user_select.php
ATTENTION: [8192] htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated | LINE: 409 | FILE: /var/www/html/tcexam/admin/code/tce_functions_user_select.php
ATTENTION: [8192] htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated | LINE: 410 | FILE: /var/www/html/tcexam/admin/code/tce_functions_user_select.php
ATTENTION: [8192] htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated | LINE: 411 | FILE: /var/www/html/tcexam/admin/code/tce_functions_user_select.php

I understand that these issues might be related to the PHP version, but I would like to know if there are any potential problems or security concerns with using an updated version of PHP.

Additionally, I would like to know if the TCExam project is still active and if there are plans to update it to support newer versions.

Can anyone help me understand and resolve these warnings?

Thanks in advance!
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant