[Bug] {Personal,Administration} Settings Inaccessible #269

Closed
opened 2023-07-15 09:26:53 +02:00 by hyprdrm · 3 comments

Environment

  • Custom menu version: 3.10.0
  • Nextcloud version: 25.0.8
  • PHP version: 7.4.3
  • Web server (Nginx, Apache2): Apache2
  • Web browser and version (Firefox 80, Google Chrome 74, etc): Brave 152.122

Configuration

{
  ...cannot be reproduced: enabling the app makes "Settings" inaccessible...
}

Steps to reproduce

  1. Install Nextcloud 25.0.8
  2. Install Custom Menu 3.10.0

Observed Results

  • "Appearance and Accessibility"
  • "Settings" (for non-admin users)
  • "Personal Settings" and "Administration Settings" (for admin users)

...are inaccessible from the Nextcloud dropdown menu.

Attempting to access them produces:

Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

Technical details
Remote Address: REDACTED
Request ID: REDACTED

Expected Results

  • "Appearance and Accessibility"
  • "Settings" (for non-admin users)
  • "Personal Settings" and "Administration Settings" (for admin users)

...should be accessible as normal from the Nextcloud dropdown menu.

More informations

Searching nextcloud.log for the Request ID (see above) produces:

{"reqId":"REDACTED","level":3,"time":"2023-07-15T06:09:40+00:00","remoteAddr":"REDACTED","user":"REDACTED","app":"index","method":"GET","url":"/settings/user/theming","message":"syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) in file '/blah/blah/blah/nextcloud/apps/side_menu/lib/Service/AppRepository.php' line 38"


Temporarily disabling "Custom menu" in Apps resolves the issue: everything is accessible normally from the dropdown again.

### Environment * Custom menu version: 3.10.0 * Nextcloud version: 25.0.8 * PHP version: 7.4.3 * Web server (Nginx, Apache2): Apache2 * Web browser and version (Firefox 80, Google Chrome 74, etc): Brave 152.122 ### Configuration ``` { ...cannot be reproduced: enabling the app makes "Settings" inaccessible... } ``` ### Steps to reproduce 1. Install Nextcloud 25.0.8 2. Install Custom Menu 3.10.0 ### Observed Results * "Appearance and Accessibility" * "Settings" (for non-admin users) * "Personal Settings" and "Administration Settings" (for admin users) ...are inaccessible from the Nextcloud dropdown menu. Attempting to access them produces: > Internal Server Error The server was unable to complete your request. If this happens again, please send the technical details below to the server administrator. > > More details can be found in the server log. > > Technical details Remote Address: REDACTED Request ID: REDACTED ### Expected Results * "Appearance and Accessibility" * "Settings" (for non-admin users) * "Personal Settings" and "Administration Settings" (for admin users) ...should be accessible as normal from the Nextcloud dropdown menu. ### More informations Searching nextcloud.log for the Request ID (see above) produces: > {"reqId":"REDACTED","level":3,"time":"2023-07-15T06:09:40+00:00","remoteAddr":"REDACTED","user":"REDACTED","app":"index","method":"GET","url":"/settings/user/theming","message":"syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) in file '/blah/blah/blah/nextcloud/apps/side_menu/lib/Service/AppRepository.php' line 38" --- Temporarily disabling "Custom menu" in Apps resolves the issue: everything is accessible normally from the dropdown again.
hyprdrm added the
bug
label 2023-07-15 09:26:53 +02:00
deblan referenced this issue from a commit 2023-07-15 14:50:33 +02:00
Owner

A fix is being implemented but the problem came form your php version. You should upgrade to php8 which is a requirement.

A fix is being implemented but the problem came form your php version. You should upgrade to php8 which is a requirement.
deblan added the
next release
label 2023-07-15 14:59:01 +02:00
Owner

Released in v3.10.1 v3.10.2!

Released in ~~v3.10.1~~ v3.10.2!
deblan removed the
next release
label 2023-07-15 15:08:43 +02:00
Author

Amazing.

Thank you!

Amazing. Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: deblan/side_menu#269
No description provided.