-
-
Notifications
You must be signed in to change notification settings - Fork 436
Unable to add new users #6089
Copy link
Copy link
Closed
Labels
bugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamresolvedA fixed issueA fixed issue
Milestone
Description
I can't add a new user on the User Management menu page.
When I press the add icon, an error pop-up always appears
I am using cacti version 1.2.29 and spine 1.2.29 with php version 8.3
Logs
2025-02-05 16:49:43 - CMDPHP WARNING: Cacti Page:user_admin.php?tab=general&action=user_edit for User:admin Generated a Fatal Error:500
2025-02-05 16:49:43 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2025-02-05 16:49:43 - ERROR PHP ERROR: Uncaught TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given in /opt/cacti/lib/html.php:1131 Stack trace: #0 /opt/cacti/lib/html.php(1131): htmlspecialchars() #1 /opt/cacti/lib/html.php(1085): html_escape() #2 /opt/cacti/lib/html_form.php(790): html_create_list() #3 /opt/cacti/lib/html_form.php(250): form_dropdown() #4 /opt/cacti/lib/html_form.php(150): draw_edit_control() #5 /opt/cacti/user_admin.php(1878): draw_edit_form() #6 /opt/cacti/user_admin.php(55): user_edit() #7 {main} thrown in file: /opt/cacti/lib/html.php on line: 1131
2025-02-05 16:49:41 - CMDPHP PHP ERROR WARNING Backtrace: (/user_admin.php[72]:user(), /user_admin.php[2351]:form_selectable_cell(), /lib/html_utility.php[248]:CactiErrorHandler())
2025-02-05 16:49:41 - ERROR PHP WARNING: Array to string conversion in file: /opt/cacti/lib/html_utility.php on line: 248```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamresolvedA fixed issueA fixed issue
