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

Reload after creating new folder not working #4016

Open
useronkel opened this issue Jan 20, 2024 · 0 comments
Open

Reload after creating new folder not working #4016

useronkel opened this issue Jan 20, 2024 · 0 comments

Comments

@useronkel
Copy link

TP-Version: 3.1.1.46
After creating a new folder the redirect to Folders should work.
Instead the content page stays empty and the following error appears in error.log:

Stack trace:
#0 /var/www/html/teampass-dev/sources/folders.queries.php(148): in_array()
#1 {main}
  thrown in /var/www/html/teampass-dev/sources/folders.queries.php on line 148
[20-Jan-2024 11:53:57 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, int given in /var/www/html/teampass-dev/sources/folders.queries.php:1539
Stack trace:
#0 /var/www/html/teampass-dev/sources/folders.queries.php(1539): in_array()
#1 {main}
  thrown in /var/www/html/teampass-dev/sources/folders.queries.php on line 1539

Choosing Folder from the navigation tab leads to working folders and the new created folder is also visible
Thx

nilsteampassnet added a commit that referenced this issue Jan 21, 2024
Fix for #4016
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