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

Adding group fails #1172

Open
skylord123 opened this Issue May 14, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@skylord123

skylord123 commented May 14, 2018

Expected behaviour

The group to be created

Actual behaviour

Fails. The response goes through and gives me a group ID back but the group is never added to the list in the UI.

Response I get back from server (in debug preview): {errors: [], groupId: 33}

Steps to reproduce

Launch kimai on latest version using fresh install. Login as admin and try to create a group (I've tested with php 5.6 and php 7.2).

Reproducable on demo.kimai.org? [yes|no]

No

Kimai version [for example: dev 1.1.0.1389|github master|github develop]

1.2.2

Relevant log entries from log file (debug tab or temporary/logfile.txt)

I get a ton of errors.. Here is last couple lines of the nginx error log.

PHP message: PHP Warning:  array_intersect(): Argument #1 is not an array in /var/www/test.skylar.tech/includes/func.php on line 517
PHP message: PHP Warning:  array_diff(): Argument #1 is not an array in /var/www/test.skylar.tech/includes/func.php on line 518
PHP message: PHP Warning:  array_intersect(): Argument #1 is not an array in /var/www/test.skylar.tech/includes/func.php on line 519" while reading response header from upstream, client: 72.12.242.42, server: test.skylar.tech, request: "POST /core/processor.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "test.skylar.tech", referrer: "http://test.skylar.tech/core/kimai.php"
2018/05/14 18:03:30 [error] 26929#26929: *797 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: table_time_format in /var/www/test.skylar.tech/extensions/ki_timesheets/init.php on line 129" while reading response header from upstream, client: 72.12.242.42, server: test.skylar.tech, request: "GET /extensions/ki_timesheets/init.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "test.skylar.tech", referrer: "http://test.skylar.tech/core/kimai.php"
2018/05/14 18:03:35 [error] 26929#26929: *797 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: table_time_format in /var/www/test.skylar.tech/extensions/ki_timesheets/init.php on line 129" while reading response header from upstream, client: 72.12.242.42, server: test.skylar.tech, request: "GET /extensions/ki_timesheets/init.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "test.skylar.tech", referrer: "http://test.skylar.tech/core/kimai.php"
2018/05/14 18:04:00 [error] 26929#26929: *797 FastCGI sent in stderr: "PHP message: PHP Warning:  array_filter() expects parameter 1 to be array, boolean given in /var/www/test.skylar.tech/includes/func.php on line 148
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/test.skylar.tech/includes/func.php on line 151" while reading response header from upstream, client: 72.12.242.42, server: test.skylar.tech, request: "POST /core/floaters.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "test.skylar.tech", referrer: "http://test.skylar.tech/core/kimai.php"
2018/05/14 18:12:17 [error] 26929#26929: *845 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: table_time_format in /var/www/test.skylar.tech/extensions/ki_timesheets/init.php on line 129" while reading response header from upstream, client: 72.12.242.42, server: test.skylar.tech, request: "GET /extensions/ki_timesheets/init.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "test.skylar.tech", referrer: "http://test.skylar.tech/core/kimai.php"
2018/05/14 18:12:21 [error] 26929#26929: *845 FastCGI sent in stderr: "PHP message: PHP Warning:  array_filter() expects parameter 1 to be array, boolean given in /var/www/test.skylar.tech/includes/func.php on line 148
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/test.skylar.tech/includes/func.php on line 151" while reading response header from upstream, client: 72.12.242.42, server: test.skylar.tech, request: "POST /core/floaters.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "test.skylar.tech", referrer: "http://test.skylar.tech/core/kimai.php"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment