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

Trying to access array offset on value of type int at lib/private/Files/Node/Node.php#327 #19010

Closed
jean-io opened this issue Jan 20, 2020 · 52 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@jean-io
Copy link

jean-io commented Jan 20, 2020

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.

Steps to reproduce

Hi, after upgrading not NC 18 and PHP 7.4, I have got some error messages that are apparently related to this new PHP version:

{"reqId":"AAA","level":3,"time":"20-Jan-2020 08:36:15","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type int at /srv/http/nextcloud/lib/private/Files/Node/Node.php#327","userAgent":"--","version":"18.0.0.10"}
{"reqId":"BBB","level":3,"time":"20-Jan-2020 09:03:12","remoteAddr":"192.168.1.69","user":"admin","app":"PHP","method":"GET","url":"/apps/logreader/get?offset=0&count=50&levels=11111","message":"Trying to access array offset on value of type null at /srv/http/nextcloud/apps/logreader/lib/Log/LogIterator.php#78","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"CCC","level":3,"time":"20-Jan-2020 09:10:44","remoteAddr":"192.168.1.69","user":"me","app":"PHP","method":"GET","url":"/apps/spreed/","message":"Trying to access array offset on value of type null at /srv/http/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"DDD","level":3,"time":"20-Jan-2020 09:12:32","remoteAddr":"192.168.1.69","user":"me","app":"PHP","method":"GET","url":"/apps/mail/","message":"Trying to access array offset on value of type null at /srv/http/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}
{"reqId":"EEE","level":3,"time":"20-Jan-2020 09:13:34","remoteAddr":"192.168.1.69","user":"jean","app":"PHP","method":"GET","url":"/apps/contacts/","message":"Trying to access array offset on value of type null at /srv/http/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}

Errors are from apps:

Apprarently there is an issue in /3rdparty/leafo/scssphp/src/Compiler.php.

@jean-io jean-io added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 20, 2020
@J0WI
Copy link
Contributor

J0WI commented Jan 20, 2020

Duplicate of #18996

@J0WI J0WI marked this as a duplicate of #18996 Jan 20, 2020
@J0WI J0WI closed this as completed Jan 20, 2020
@jean-io
Copy link
Author

jean-io commented Jan 20, 2020

@J0WI OK it's a duplicate of #18996 for messages CCC, DDD and EEE.

But it's not a duplicate for log AAA and log BBB.

@J0WI
Copy link
Contributor

J0WI commented Jan 20, 2020

Please open a separate issue in https://github.com/nextcloud/logreader for BBB.

@J0WI J0WI reopened this Jan 20, 2020
@J0WI J0WI changed the title PHP 7.4: Trying to access array offset on value of type int PHP 7.4: Trying to access array offset on value of type int at lib/private/Files/Node/Node.php#327 Jan 20, 2020
@kesselb
Copy link
Contributor

kesselb commented Jan 21, 2020

Thanks for reporting 👍

if (!$path || $path[0] !== '/') {
$path = '/' . $path;
}

OK. Current implementation will prepend a '/' if the first character is not '/' or evaluates to false.

		if (!$path || strpos($path, '/') !== 0) {
			$path = '/' . $path;
		}

That's the same without the array integer warning. Actually the documentation says that isValidPath should be called with a string but somehow it's called with an integer. Probably a faulty type conversion somewhere.

Index: lib/private/Files/Node/Node.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- lib/private/Files/Node/Node.php	(revision 06c20a5138a0189047c26b6480cbf285a00bc449)
+++ lib/private/Files/Node/Node.php	(date 1579613413639)
@@ -324,7 +324,14 @@
 	 * @return bool
 	 */
 	public function isValidPath($path) {
-		if (!$path || $path[0] !== '/') {
+		if (is_int($path)) {
+			try {
+				throw new \LogicException('$path is a integer: ' . $path);
+			} catch (\LogicException $e) {
+				\OC::$server->getLogger()->logException($e);
+			}
+		}
+		if (!$path || strpos($path, '/') !== 0) {
 			$path = '/' . $path;
 		}
 		if (strstr($path, '/../') || strrchr($path, '/') === '/..') {

Would be nice to test this patch with additional logging. It will throw a exception if $path is an integer, catch the exception and forward it to the logs. We need the exception then to see where this faulty integer is coming from. Thanks 👍 (Don't forget the backups just in case)

Similar to: #18926

@jean-io
Copy link
Author

jean-io commented Jan 22, 2020

Hi thank for re-opening this issue 👍

I am not comfortable with testing a patch on my only NC setup which is in production 😟

Can you reproduce this issue?
Anyway it does make sense to catch if $path is something else than a string before the condition $path[0] !== '/', right?

@kesselb
Copy link
Contributor

kesselb commented Jan 22, 2020

Can you reproduce this issue?

No luck 🤷‍♂️

If you keep if (!$path || $path[0] !== '/') { and not replace with if (!$path || strpos($path, '/') !== 0) { there should be no impact. The try-catch logic (if $path is numeric) is there to draw a stack trace. Stack trace will show the requests path. I guess other people will run into this issue too. Probably someone else has a testing setup to apply the patch.

@MeiRos
Copy link

MeiRos commented Jan 23, 2020

Hi @kesselb !
I got this in to my logs. Hopefully this is what you want to see.

{"reqId":"M9muiDyZWTtHrsJrBfJV","level":3,"time":"2020-01-23T19:05:01+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type int at /home/nginx/domains/mydomain.net/public/lib/private/Files/Node/Node.php#327","userAgent":"--","version":"18.0.0.10"}
{"reqId":"4NEiKit2Q87PQK6Xm0E2","level":3,"time":"2020-01-23T19:09:10+00:00","remoteAddr":"11.22.33.44","user":"admin","app":"no app in context","method":"GET","url":"/apps/text/session/create?fileId=425&guestName=null&forceRecreate=false","message":{"Exception":"LogicException","Message":"$path is a integer: 425","Code":0,"Trace":[{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Files/Node/Folder.php","line":59,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Files/Node/Folder.php","line":137,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Files/SimpleFS/SimpleFolder.php","line":74,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/apps/text/lib/Service/DocumentService.php","line":151,"function":"getFile","class":"OC\\Files\\SimpleFS\\SimpleFolder","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/apps/text/lib/Service/ApiService.php","line":87,"function":"createDocument","class":"OCA\\Text\\Service\\DocumentService","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/apps/text/lib/Controller/SessionController.php","line":49,"function":"create","class":"OCA\\Text\\Service\\ApiService","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"create","class":"OCA\\Text\\Controller\\SessionController","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Route/Router.php","line":299,"function":"call_user_func"},{"file":"/home/nginx/domains/mydomain.net/public/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/index.php","line":38,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/nginx/domains/mydomain.net/public/lib/private/Files/Node/Node.php","Line":330,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; CrOS x86_64 12607.58.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.86 Safari/537.36","version":"18.0.0.10"}
{"reqId":"4NEiKit2Q87PQK6Xm0E2","level":3,"time":"2020-01-23T19:09:10+00:00","remoteAddr":"11.22.33.44","user":"admin","app":"no app in context","method":"GET","url":"/apps/text/session/create?fileId=425&guestName=null&forceRecreate=false","message":{"Exception":"LogicException","Message":"$path is a integer: 425","Code":0,"Trace":[{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Files/Node/Folder.php","line":59,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Files/Node/Folder.php","line":181,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Files/SimpleFS/SimpleFolder.php","line":84,"function":"newFile","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/apps/text/lib/Service/DocumentService.php","line":153,"function":"newFile","class":"OC\\Files\\SimpleFS\\SimpleFolder","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/apps/text/lib/Service/ApiService.php","line":87,"function":"createDocument","class":"OCA\\Text\\Service\\DocumentService","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/apps/text/lib/Controller/SessionController.php","line":49,"function":"create","class":"OCA\\Text\\Service\\ApiService","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"create","class":"OCA\\Text\\Controller\\SessionController","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/lib/private/Route/Router.php","line":299,"function":"call_user_func"},{"file":"/home/nginx/domains/mydomain.net/public/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/nginx/domains/mydomain.net/public/index.php","line":38,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/nginx/domains/mydomain.net/public/lib/private/Files/Node/Node.php","Line":330,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; CrOS x86_64 12607.58.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.86 Safari/537.36","version":"18.0.0.10"}

@kesselb
Copy link
Contributor

kesselb commented Jan 23, 2020

@Skip75
Copy link

Skip75 commented Mar 18, 2020

Hi
Any ETA for a fix ? :)

@kesselb
Copy link
Contributor

kesselb commented Mar 18, 2020

Fixed by nextcloud/text#608

@kesselb kesselb closed this as completed Mar 18, 2020
@Skip75
Copy link

Skip75 commented Mar 18, 2020

Why is it closed ? I'm still having the error, and my NC instance is up to date.

@kesselb
Copy link
Contributor

kesselb commented Mar 18, 2020

As you may have seen I did some debugging with @MeiRos and traced this error down to a specific code path. That faulty code has been fixed (by the linked pull request). The pull request is merged and the code shipped with 18.0.1 hence I closed this issue.

Feel free to patch your instance the same way and add more logs to find more faulty places. We can reopen than.

@Skip75
Copy link

Skip75 commented Mar 18, 2020

Just got this error today :

{
"reqId": "ZoHJpUomOyEaZo7zMuJS",
"level": 3,
"time": "2020-03-18T15:17:26+01:00",
"remoteAddr": "",
"user": "--",
"app": "PHP",
"method": "",
"url": "--",
"message": "Trying to access array offset on value of type int at /var/www/nextcloud/lib/private/Files/Node/Node.php#327",
"userAgent": "--",
"version": "18.0.2.2",
"id": "5e7236d8f2a9b"
}

And since you fixed it in 18.0.1 and i'm using 18.0.2.2, then issue is not fixed. Unless I've missed something ?

@kesselb
Copy link
Contributor

kesselb commented Mar 18, 2020

And since you fixed it in 18.0.1 and i'm using 18.0.2.2, then issue is not fixed. Unless I've missed something ?

As you may have seen I did some debugging with @MeiRos and traced this error down to a specific code path. Feel free to patch your instance the same way and add more logs to find more faulty places.

@MeiRos
Copy link

MeiRos commented Mar 19, 2020

There are nothing about node.php in my log. It's fixed for me.

I have errors about compiler.php, but that's the other story..

@Skip75
Copy link

Skip75 commented Mar 19, 2020

Still in my logs today.
@kesselb you mean, if people doesn't want to have errors in logs, they have to download and install Nexctcloud, then patch manually a file to fix the issue ?
wtf, It seems i've missed something... why not release the fix in the code directly ?

@kesselb
Copy link
Contributor

kesselb commented Mar 19, 2020

#19010 (comment)

Is the explanation there not clear to you? It's important to figure out which code calls the method in a wrong way.

@Skip75
Copy link

Skip75 commented Mar 19, 2020

True, I didn't realize that the patch was for extra logging. Thought it was a fix.
Ok, It's patched. Will wait for more logs now... (I don't know how to trigger the error manually.)

@Skip75
Copy link

Skip75 commented Mar 20, 2020

Ok @kesselb I think I've some stuff for you^^

{"reqId":"YSaEubAD9ntxMOVTWTIg","level":3,"time":"2020-03-20T07:15:59+01:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":{"Exception":"LogicException","Message":"$path is a integer: 1","Code":0,"Trace":[{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":59,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":137,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Mount/MountProvider.php","line":183,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Mount/MountProvider.php","line":124,"function":"getFolder","class":"OCA\\GroupFolders\\Mount\\MountProvider","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/VersionsBackend.php","line":160,"function":"getMount","class":"OCA\\GroupFolders\\Mount\\MountProvider","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":62,"function":"getAllVersionedFiles","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":57,"function":"expireFolder","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php","line":40,"function":"expireAll","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/cron.php","line":125,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Node.php","Line":330,"CustomMessage":"--"},"userAgent":"--","version":"18.0.2.2","id":"5e74ba1b60ab9"}
{"reqId":"YSaEubAD9ntxMOVTWTIg","level":3,"time":"2020-03-20T07:15:59+01:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":{"Exception":"LogicException","Message":"$path is a integer: 21975","Code":0,"Trace":[{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":59,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":137,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/VersionsBackend.php","line":64,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":66,"function":"getVersionsForFile","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":57,"function":"expireFolder","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php","line":40,"function":"expireAll","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/cron.php","line":125,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Node.php","Line":330,"CustomMessage":"--"},"userAgent":"--","version":"18.0.2.2","id":"5e74ba1b60a67"}
{"reqId":"YSaEubAD9ntxMOVTWTIg","level":3,"time":"2020-03-20T07:15:59+01:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":{"Exception":"LogicException","Message":"$path is a integer: 21981","Code":0,"Trace":[{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":59,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":137,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/VersionsBackend.php","line":64,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":66,"function":"getVersionsForFile","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":57,"function":"expireFolder","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php","line":40,"function":"expireAll","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/cron.php","line":125,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Node.php","Line":330,"CustomMessage":"--"},"userAgent":"--","version":"18.0.2.2","id":"5e74ba1b60a21"}
{"reqId":"YSaEubAD9ntxMOVTWTIg","level":3,"time":"2020-03-20T07:15:59+01:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":{"Exception":"LogicException","Message":"$path is a integer: 21993","Code":0,"Trace":[{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":59,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Folder.php","line":137,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/VersionsBackend.php","line":64,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":66,"function":"getVersionsForFile","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":57,"function":"expireFolder","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php","line":40,"function":"expireAll","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/lib/private/BackgroundJob/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud.d-c.fr/cron.php","line":125,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud.d-c.fr/lib/private/Files/Node/Node.php","Line":330,"CustomMessage":"--"},"userAgent":"--","version":"18.0.2.2","id":"5e74ba1b609db"}

@Skip75
Copy link

Skip75 commented Mar 24, 2020

Can you please reopen the issue ?

@kesselb
Copy link
Contributor

kesselb commented Mar 24, 2020

@jean-io
Copy link
Author

jean-io commented Jul 1, 2020

Asking for a solution on a closed issue is not the best way to get an reply. I suggest you open a new issue if there is not already one open. Good luck 🍺

@Wotisrv
Copy link

Wotisrv commented Jul 1, 2020

I do not know why it is closed when it is not fixed and several other user still have the same problem with NC 18 even with NC 19

@jean-io
Copy link
Author

jean-io commented Jul 1, 2020

@kesselb can you take a look on latest comments on this issue?

@kesselb
Copy link
Contributor

kesselb commented Jul 1, 2020

Trying to access array offset on value of type null at /srv/http/nextcloud/apps/logreader/lib/Log/LogIterator.php#78

nextcloud/logreader#352

Trying to access array offset on value of type null at /var/www/html/nextcloud/apps/logreader/lib/Controller/LogController.php#100

nextcloud/logreader#354

Trying to access array offset on value of type int at /var/www/nextcloud/lib/private/Files/Node/Node.php#328

@Burschi500 #19010 (comment)

Nextcloud 19 php 7.4 and still the same :/ I am considering downgrade to php 7.2

Same issue here, moreover, I have some phantom (non-existent) dirs from an external storage. Tried to occ file:clean but no result. NC 19.0.0, php 7.4

Having the same issue here.

@TorinKR @vanyolai @Chris-A-sc

  1. check your logs (like most of the other people)
  2. look for a similar code places (e.g. Node.php#328 or LogController.php#100)
  3. If there is already a report for the code places in this thread
    3.1. use GitHub reactions to show that you are affected as well
    3.2. otherwise Trying to access array offset on value of type int at lib/private/Files/Node/Node.php#327 #19010 (comment)

@jean-io
Copy link
Author

jean-io commented Jul 6, 2020

thank for the help @kesselb 🍺

@Wotisrv
Copy link

Wotisrv commented Jul 10, 2020

@kesselb I guess I fixed the problem with Node.php#328 as described #19010
But LogController.php#100 I did not fix. How to fix that?

@Wotisrv
Copy link

Wotisrv commented Jul 24, 2020

Just updated to version 18.0.7 and the bug is back. Trying to access array offset on value of type int at /var/www/html/nextcloud/lib/private/Files/Node/Node.php#327
Now it's line 327 instead of 328. I'll check the code tomorrow and try if the last patch of you works.

I don't understand why you didn't fix it in the new version?

@Drumsk8
Copy link

Drumsk8 commented Aug 7, 2020

NC 19.0.1 PHP 7.4.8

Trying to access array offset on value of type int at /var/www/vhosts/<my.domain>/httpdocs/lib/private/Files/Node/Node.php#328

@juliushaertl
Copy link
Member

If you still see this issue happening, please apply the patch from @kesselb and paste the verbose logging output, as the error message in general is not pointing to the original location where the issue is happening: #19010 (comment)

@Wotisrv
Copy link

Wotisrv commented Aug 7, 2020

Did apply the patch after I got the issue back in 18.0.7. It worked fine. Upgraded to 19.0.1 and issue was back again. Now I applied the patch once again. It looks like the issue disappeared. If not I'll report again with verbose logging output.

@Schmuuu
Copy link

Schmuuu commented Aug 7, 2020

Here is the output from the logs after applying the patch from kesselb:

Error
- no app in context -
{"reqId":"ljghvZVCq2FPwlEFlmTC","level":3,"time":"2020-08-07T12:20:03+02:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":{"Exception":"LogicException","Message":"$path is a integer: 2","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":60,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":138,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Helper/LazyFolder.php","line":72,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Helper/LazyFolder.php","line":144,"function":"__call","class":"OCA\\GroupFolders\\Helper\\LazyFolder","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php","line":184,"function":"get","class":"OCA\\GroupFolders\\Helper\\LazyFolder","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php","line":124,"function":"getFolder","class":"OCA\\GroupFolders\\Mount\\MountProvider","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php","line":160,"function":"getMount","class":"OCA\\GroupFolders\\Mount\\MountProvider","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":62,"function":"getAllVersionedFiles","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":57,"function":"expireFolder","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php","line":40,"function":"expireAll","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":62,"function":"run","class":"OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":57,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":126,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Files/Node/Node.php","Line":331,"CustomMessage":"--"},"userAgent":"--","version":"19.0.1.1","id":"5f2d2ad3dd472"}

Error
- no app in context- 
{"reqId":"ljghvZVCq2FPwlEFlmTC","level":3,"time":"2020-08-07T12:20:03+02:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":{"Exception":"LogicException","Message":"$path is a integer: 1","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":60,"function":"isValidPath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":138,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Helper/LazyFolder.php","line":72,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Helper/LazyFolder.php","line":144,"function":"__call","class":"OCA\\GroupFolders\\Helper\\LazyFolder","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php","line":184,"function":"get","class":"OCA\\GroupFolders\\Helper\\LazyFolder","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php","line":124,"function":"getFolder","class":"OCA\\GroupFolders\\Mount\\MountProvider","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php","line":160,"function":"getMount","class":"OCA\\GroupFolders\\Mount\\MountProvider","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":62,"function":"getAllVersionedFiles","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php","line":57,"function":"expireFolder","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/BackgroundJob/ExpireGroupVersions.php","line":40,"function":"expireAll","class":"OCA\\GroupFolders\\Versions\\GroupVersionsExpireManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":62,"function":"run","class":"OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":57,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":126,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Files/Node/Node.php","Line":331,"CustomMessage":"--"},"userAgent":"--","version":"19.0.1.1","id":"5f2d2ad3dd505"}

These two error messages are triggered by the cronjob and therefore appear every 5 minutes.

System:
Operating System: | ArchLinux 5.4.55-1-lts x86_64
Memory: | 15.53 GB

PHP:
Version: 7.4.9
Memory Limit: 1 GB
Max Execution Time: 3600

@juliushaertl
Copy link
Member

Ah I see nextcloud/groupfolders#942 was not released yet as a fix for the groupfolders app.

@Pingger
Copy link

Pingger commented Aug 24, 2020

Same issue here... (also groupfolders)

JSON-Object:
{"reqId":"xEIL38IsJazQ0iUo73FZ","level":3,"time":"2020-08-24T16:40:05+00:00","remoteAddr":"[redacted]","user":"server","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/server/[redacted]","message":{"Exception":"LogicException","Message":"$path is a integer: 45314","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":63,"function":"normalizePath","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":138,"function":"getFullPath","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php","line":96,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/files_versions/lib/Versions/VersionManager.php","line":93,"function":"createVersion","class":"OCA\\GroupFolders\\Versions\\VersionsBackend","type":"->"},{"file":"/var/www/nextcloud/apps/files_versions/lib/Storage.php","line":207,"function":"createVersion","class":"OCA\\Files_Versions\\Versions\\VersionManager","type":"->"},{"file":"/var/www/nextcloud/apps/files_versions/lib/Hooks.php","line":61,"function":"store","class":"OCA\\Files_Versions\\Storage","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":110,"function":"write_hook","class":"OCA\\Files_Versions\\Hooks","type":"::"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":381,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":162,"function":"emitPreHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1143,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":515,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":320,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Files/Node/Node.php","Line":307,"CustomMessage":"--"},"userAgent":"curl/7.68.0","version":"19.0.1.1","id":"5f43ed65cf231"}
Stacktrace
LogicException: $path is a integer: 45314
/var/www/nextcloud/lib/private/Files/Node/Folder.php - line 63:
OC\Files\Node\Node->normalizePath()
/var/www/nextcloud/lib/private/Files/Node/Folder.php - line 138:
OC\Files\Node\Folder->getFullPath()
/var/www/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php - line 96:
OC\Files\Node\Folder->get()
/var/www/nextcloud/apps/files_versions/lib/Versions/VersionManager.php - line 93:
OCA\GroupFolders\Versions\VersionsBackend->createVersion()
/var/www/nextcloud/apps/files_versions/lib/Storage.php - line 207:
OCA\Files_Versions\Versions\VersionManager->createVersion()
/var/www/nextcloud/apps/files_versions/lib/Hooks.php - line 61:
OCA\Files_Versions\Storage::store()
/var/www/nextcloud/lib/private/legacy/OC_Hook.php - line 110:
OCA\Files_Versions\Hooks::write_hook()
/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 381:
OC_Hook::emit()
/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 162:
OCA\DAV\Connector\Sabre\File->emitPreHooks()
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1143:
OCA\DAV\Connector\Sabre\File->put()
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 515:
Sabre\DAV\Server->updateFile("*** sensiti ... *")
/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:
Sabre\DAV\CorePlugin->httpPut()
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 474:
Sabre\DAV\Server->emit()
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:
Sabre\DAV\Server->invokeMethod()
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:
Sabre\DAV\Server->start()
/var/www/nextcloud/apps/dav/lib/Server.php - line 320:
Sabre\DAV\Server->exec()
/var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
OCA\DAV\Server->exec()
/var/www/nextcloud/remote.php - line 167:
require_once("/var/www/ne ... p")

@juliushaertl
Copy link
Member

Thanks a lot @Pingger I moved it to nextcloud/groupfolders#1023

@AndreKoepke
Copy link

Mh, I noticed a high cpu-usage of the cron-job on my instance (v 19.0.2) and saw the trying to access ...-error very often in my logs.
After a upgrade to v 19.0.3 it seems, that the error was disappeared.

(I have no groupfolders installed)

@juliushaertl
Copy link
Member

@AndreKoepke See #19010 (comment) for additional steps to generate some useful log output.

@AndreKoepke
Copy link

@juliushaertl thanks for the hint.
After a few days the error occurs again and starting eating my cpu.
But I noticed that failure happens in a other class.

I will open a new ticket for it.

@julian70400
Copy link

Just got this error today in Nextcloud 21.0.0 :

Error	PHP	Error: Trying to access array offset on value of type int at /var/www/nextcloud/lib/private/Files/Node/Node.php#328
/var/www/nextcloud/lib/private/Files/Node/Node.php - line 328:

OC\Log\ErrorHandler::onError()

/var/www/nextcloud/lib/private/Files/Node/Folder.php - line 62:

OC\Files\Node\Node->isValidPath()

/var/www/nextcloud/lib/private/Files/Node/Folder.php - line 163:

OC\Files\Node\Folder->getFullPath()

/var/www/nextcloud/apps/groupfolders/lib/Trash/TrashBackend.php - line 254:

OC\Files\Node\Folder->newFolder()

/var/www/nextcloud/apps/groupfolders/lib/Trash/TrashBackend.php - line 177:

OCA\GroupFolders\Trash\TrashBackend->getTrashFolder()

/var/www/nextcloud/apps/files_trashbin/lib/Trash/TrashManager.php - line 103:

OCA\GroupFolders\Trash\TrashBackend->moveToTrash()

/var/www/nextcloud/apps/files_trashbin/lib/Storage.php - line 192:

OCA\Files_Trashbin\Trash\TrashManager->moveToTrash()

/var/www/nextcloud/apps/files_trashbin/lib/Storage.php - line 99:

OCA\Files_Trashbin\Storage->doDelete()

/var/www/nextcloud/apps/ransomware_protection/lib/StorageWrapper.php - line 263:

OCA\Files_Trashbin\Storage->unlink()

/var/www/nextcloud/lib/private/Files/View.php - line 1168:

OCA\RansomwareProtection\StorageWrapper->unlink()

/var/www/nextcloud/lib/private/Files/View.php - line 725:

OC\Files\View->basicOperation()

/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 466:

OC\Files\View->unlink()

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 179:

OCA\DAV\Connector\Sabre\File->delete()

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 281:

Sabre\DAV\Tree->delete()

/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

Sabre\DAV\CorePlugin->httpDelete()

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 472:

Sabre\DAV\Server->emit()

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:

Sabre\DAV\Server->invokeMethod()

/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:

Sabre\DAV\Server->start()

/var/www/nextcloud/apps/dav/lib/Server.php - line 332:

Sabre\DAV\Server->exec()

/var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:

OCA\DAV\Server->exec()

/var/www/nextcloud/remote.php - line 167:

require_once("/var/www/lo ... p")

@solracsf solracsf changed the title PHP 7.4: Trying to access array offset on value of type int at lib/private/Files/Node/Node.php#327 Trying to access array offset on value of type int at lib/private/Files/Node/Node.php#327 Apr 16, 2021
@xenophil90
Copy link

Also got this error today in NC 23. Applied the patch and will post verbose output when available.

@AndyXheli
Copy link
Contributor

HI all i just got this error today on NC 24.0.4

{"reqId":"6eYLNqVQSjAit8VDbOwz","level":3,"time":"2022-08-30T12:40:52-05:00","remoteAddr":"66.158.36.34","user":"admin","app":"PHP","method":"PUT","url":"/apps/sendent/api/1.0/settinggroupvalue/10","message":"Trying to access array offset on value of type int at /var/www/nextcloud/lib/private/Files/Node/Node.php#310","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36","version":"24.0.4.1","exception":{"Exception":"Error","Message":"Trying to access array offset on value of type int at /var/www/nextcloud/lib/private/Files/Node/Node.php#310","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Node/Node.php","line":310,"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":69,"function":"isValidPath","class":"OC\Files\Node\Node","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":137,"function":"getFullPath","class":"OC\Files\Node\Folder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":146,"function":"get","class":"OC\Files\Node\Folder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php","line":71,"function":"nodeExists","class":"OC\Files\Node\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/sendent/lib/Service/SendentFileStorageManager.php","line":28,"function":"fileExists","class":"OC\Files\SimpleFS\SimpleFolder","type":"->"},{"file":"/var/www/nextcloud/apps/sendent/lib/Controller/SettingGroupValueApiController.php","line":176,"function":"writeTxt","class":"OCA\Sendent\Service\SendentFileStorageManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"update","class":"OCA\Sendent\Controller\SettingGroupValueApiController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"630e4c7797114"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.