Skip to content

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

@jean-io

Description

@jean-io

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions