Skip to content

Too few arguments to function User_model::insert_ex() - automatic user creation failes #44

@cypbro

Description

@cypbro

The ldap authentication of an user works but the automatic user creation insie testrail fails...


Too few arguments to function User_model::insert_ex(), 11 passed in /var/www/testrail/app/drivers/auth/custom.php on line 142 and at least 12 expected

Details:
File: /var/www/testrail/app/models/user.php
Line: 651
Status Code: 500
Host: testrail.intern.plath.de
Uri: /index.php?/auth/login/XYZ: (POST)

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
PHP: 7.3.33
Server: Linux 4.18.0-425.13.1.el8_7.x86_64 #1 SMP Tue Feb 21 19:25:54 UTC 2023 x86_64

name: email@address.org
password:
rememberme: 1

Trace:
at User_model->insert_ex (custom.php:142)
at Auth_custom_driver->_handle_success (custom.php:293)
at Auth_custom_driver->_login (custom.php:314)
at Auth_custom_driver->login (auth.php:750)
at Auth_library->_login_custom (auth.php:738)
at Auth_library->_login (auth.php:540)
at Auth_library->login (auth.php:67)
at Auth_controller->login (controller.php:257)
at Controller->_invoke_web_call (controller.php:168)
at Controller->_invoke_web (controller.php:120)
at Controller->_invoke (gizmo.php:129)
at require_once (index.php:114)

Version: 7.5.3.1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions