-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
value of type null for Compiler.php #18996
Comments
This comment has been minimized.
This comment has been minimized.
FWIW, while nextcloud/3rdparty/pull/361 upgrades
Will this be merged into v18 at all or only in v19? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
If you want to patch this for 18: |
|
Probably easier to use PHP 7.3 until this fix has landed in 18. I guess you have to place the dependency in 3rdparty, remove leafo/scsphp, bump the autoloader and replace the usage of the library with the new one. I don't know why applying the patch is not possible. Maybe the released artifact looks different. |
Unfortunately, there is no possibility to downgrade PHP to 7.3 on openSUSE Tumbleweed. There is no such a package in the repository. This is the openSUSE policy -- no obsolete packages. |
I can downgrade on FreeBSD 12.1 but if thats just a problem in nextcloud I'll wait then for a fix... |
After upgrading to 18.0.2.2 the issue still persists. I guess it won't be fixed until NC 19 Release: 21-05-2020 Maintenance and Release Schedule · nextcloud/server Wiki · GitHub |
Looks like. Automated backport of the dependency update failed. It's definitely fixed with Nextcloud 19. |
These error messages are really annoying. |
With what version of NC does it work? It does not work with 18.0.2.2 |
@cgzones , that commit does not work with 18.0.2.2 either. I'll upgrade to 18.0.3 and try again. |
And it does not work with 18.0.3.0 either. The browser shows
|
Oops, my bad. I typed |
Thank you, @cgzones , it works now! I don't know about the |
I have a couple of errors like this now:
The old errors seem to have disappeared. |
Fixed with #20794 |
No upgrade of scssphp for 18.0.5 |
This message comes up when opening a document with OnlyOffice. [PHP 7.4] Error: Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230 {"reqId":"XuEu9lh17DyUmWFmXoK0-QAAANc","level":3,"time":"2020-06-10T21:05:27+02:00","remoteAddr":"xx.xx.xx.xx","user":"XXXX","app":"PHP","method":"GET","url":"/index.php/settings/user","message":"Trying to access array offset on value of type null at /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.6.0","id":"5ee12efc2a252"} |
Also reporting the same error message in my logs, but even without opening a documents. My error log is showing this 50+ times per second: |
Hello
Getting following error :
Error PHP Trying to access array offset on value of type null at /var/www/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230
On a fresh install of nextcloud 18. Any idea ?
The nextcloud repo shows a dependency on scssphp 0.7.2.
Maybe an update is needed, since it's an old version...
#scssphp/scssphp#73
The text was updated successfully, but these errors were encountered: