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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter #5823

Closed
modir opened this issue May 1, 2024 · 2 comments

Comments

@modir
Copy link

modir commented May 1, 2024

How to use GitHub

  • Please use the 馃憤 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
I have Nextcloud 29 installed a week ago and my log keeps filled with this message:

Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /path/to/nextcloud/apps/deck/lib/Service/ConfigService.php#234

It doesn't look like a big problem but it would be nice if it is addressed soon so that it doesn't fill the logs. I guess I get this message because I am already on PHP 8.3 and you are testing with earlier versions.

@daffydock
Copy link

Just as an extra note, even just enabling the app will trigger this error, as well. However, using the mobile app and updating changes does not seem to trigger it.

Worth noting that albeit OP is on PHP 8.3, the instance I am getting the same error is on PHP 8.1.

modir added a commit to modir/deck that referenced this issue May 12, 2024
Solution for issue nextcloud#5823

Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter

Signed-off-by: Raffael <r.luthiger@huanga.com>
@solracsf
Copy link
Member

Fixed by #5794 (yet to be released).

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

Successfully merging a pull request may close this issue.

3 participants