GithubHelp home page GithubHelp logo

Comments (7)

araspitzu avatar araspitzu commented on June 26, 2024 3

I'm also affected by this issue, when trying to select an attachment for a card the file browser is not working and shows up but remains in a disabled state. The file browser works correctly from other apps.

Client details:

OS: docker latest
Browser: Firefox
Version Nextcloud: 29.0.0.19
Deck: 1.13.0
Device: desktop

from deck.

leowenlu avatar leowenlu commented on June 26, 2024 3

got the exactly same error, any one has solution for this?
dock: 1.13
nextCloud: 29.0.1

from deck.

CompassResearch avatar CompassResearch commented on June 26, 2024 2

Same problem. We have analyzed logs and error msgs and tried various fixes, but didn't help.

Here's a Chat GPT analysis based on our error messages:

The error messages you've provided from your Nextcloud 29.0.0 instance, specifically concerning the DECK app, highlight a PHP coding issue in the DECK app's ConfigService.php. Here’s a breakdown of the key components of the error and what they might indicate about the underlying problem:

Error Details
Both error messages point to the same issue within a method in the ConfigService.php file at line 234. The error message:

"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter"
This error is typical of a function or method declaration in PHP where an optional parameter (one with a default value) is placed before a required parameter (one without a default value) in the function's signature. This is problematic in PHP because it forces all parameters defined after an optional parameter to also be treated as optional, which can lead to unexpected behavior or errors.

Context of the Error
The errors are triggered during GET requests to the Nextcloud server:
URL /ocs/v2.php/apps/user_status/api/v1/user_status?format=json
URL /ocs/v2.php/apps/notifications/api/v2/notifications?format=json

These URLs suggest that the requests are related to fetching user status and notifications, respectively.

Analyzing the Impact
Although the URLs involved in the errors pertain to user statuses and notifications, the error originates from the deck app's codebase, suggesting that the DECK app might be extending or interacting with these areas of Nextcloud.
This might indicate that there's a broader integration issue within the DECK app that could be affecting its ability to properly manage or access file structures as you’ve been experiencing.

Steps to Resolve
Review and Modify Code: The immediate resolution would be to check the ConfigService.php file around line 234 and adjust the parameter order. The optional parameter $userId should be placed after all required parameters, or it should be made required by removing its default value if that contextually makes sense.

Update and Test: After making code changes, thoroughly test the DECK app in a development environment to ensure that the change does not negatively affect other functionalities.

Check for Updates: Verify if there's an update available for the DECK app that addresses this issue. Sometimes, such problems are quickly fixed once identified, and an update might already be available.

Fallback Plan: If the issue is critical and a fix is not readily available, consider rolling back to an earlier version of the DECK app or Nextcloud where this issue was not present, if such a rollback would not cause other issues.


We tried that, but it didn't help either.

Client details:

OS: Linux
Browser: Chrome, Firefox
Version Nextcloud: 29.0.0 deck: 1.13.0
Device: desktop

from deck.

Keeper-of-the-Keys avatar Keeper-of-the-Keys commented on June 26, 2024

This is probably related to the new File Picker dialog
nextcloud/server#39792

from deck.

luistiktok avatar luistiktok commented on June 26, 2024

Same happens when trying to achieve the same but in the calendar app

from deck.

leclou69 avatar leclou69 commented on June 26, 2024

Same happens when trying to achieve the same but in the calendar app

Yeah, indeed. Also still persists in the calendar app after upgrading it today to latest 4.7.4.
So perhaps sth the main nc branch should have an eye on.
In Mail i.e. it works as it should.

from deck.

leclou69 avatar leclou69 commented on June 26, 2024

Same happens when trying to achieve the same but in the calendar app

In calendar it seems to be fixed with te actual version 4.7.6

from deck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.