-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error when opening collective: Could not fetch page trash: Internal Server Error #1431
Comments
Dear @manumitted, could you restart your webserver and see whether the issue persists? |
Thanks. I tried a quick Apache restart, but the message still is displayed when going to this specific collective. I'll try a restart of the system tonight when it's not busy (if I remember). |
I tried rebooting the server entirely, but no luck. On the other hand, I have several other Nextcloud instances with Collectives, and none of them are showing this error. On the other hand, this is the most used Collectives, especially since there are multiple people editing. I wonder if it's just something specific about the collective on this instance. It doesn't seem to affect the operation at all, as far as I can tell. I'm not sure what it might indicate, though. |
@mejo- it also happens for our 30 RC1 instance. {
"reqId": "pkhShuZw7GEqTzwI5OBb",
"level": 3,
"time": "2024-08-21T05:18:05+00:00",
"remoteAddr": "2001:871:220:d07a:9678:46c3:e7b7:241f",
"user": "christoph",
"app": "collectives",
"method": "GET",
"url": "/apps/collectives/_api/12/_pages/trash",
"message": "Collectives App Error: Call to a member function getFullWidth() on null",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0",
"version": "30.0.0.8",
"exception": {
"Exception": "Error",
"Message": "Call to a member function getFullWidth() on null",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/collectives/lib/Service/PageService.php",
"line": 486,
"function": "getTrashPageByFile",
"class": "OCA\\Collectives\\Service\\PageService",
"type": "->",
"args": [
[
"OC\\Files\\Node\\File"
],
"Talk room from outlook message.mp4",
"1724156437"
]
},
{
"file": "/var/www/nextcloud/apps/collectives/lib/Controller/PageTrashController.php",
"line": 42,
"function": "findAllTrash",
"class": "OCA\\Collectives\\Service\\PageService",
"type": "->",
"args": [
12,
"christoph"
]
},
{
"file": "/var/www/nextcloud/apps/collectives/lib/Controller/ErrorHelper.php",
"line": 28,
"function": "OCA\\Collectives\\Controller\\{closure}",
"class": "OCA\\Collectives\\Controller\\PageTrashController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/apps/collectives/lib/Controller/PageTrashController.php",
"line": 46,
"function": "handleErrorResponse",
"class": "OCA\\Collectives\\Controller\\PageTrashController",
"type": "->",
"args": [
[
"Closure"
],
[
"OC\\AppFramework\\ScopedPsrLogger"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 208,
"function": "index",
"class": "OCA\\Collectives\\Controller\\PageTrashController",
"type": "->",
"args": [
12
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 114,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Collectives\\Controller\\PageTrashController"
],
"index"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 161,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Collectives\\Controller\\PageTrashController"
],
"index"
]
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 309,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OCA\\Collectives\\Controller\\PageTrashController",
"index",
[
"OC\\AppFramework\\DependencyInjection\\DIContainer"
],
[
"12",
"collectives.pagetrash.index"
]
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 996,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/apps/collectives/_api/12/_pages/trash"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 24,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/apps/collectives/lib/Service/PageService.php",
"Line": 239,
"message": "Collectives App Error: Call to a member function getFullWidth() on null",
"exception": [],
"CustomMessage": "Collectives App Error: Call to a member function getFullWidth() on null"
},
"id": "66c5789bd2885"
} |
collectives/lib/Service/PageService.php Line 239 in cbeb5d4
|
Fixes: #1431 Signed-off-by: Jonas <jonas@freesources.org>
Fixes: #1431 Signed-off-by: Jonas <jonas@freesources.org>
From version 2.14.1, the following log message occurs, and the trash message still exists:
I think the patch kicked the can down the road a bit, but not all the way? |
Fixes: #1431 Signed-off-by: Jonas <jonas@freesources.org>
Fixes: #1431 Signed-off-by: Jonas <jonas@freesources.org>
Describe the bug
There is an error box opened at the top of the web page when I open one of my collectives.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error.
Screenshots
Not necessary, i think.
Server details:
Client details:
Logs
Nextcloud log (data/nextcloud.log)
Browser log
The text was updated successfully, but these errors were encountered: