a little bit frustrated i see that the errors
[PHP] Fehler: Using ${var} in strings is deprecated, use {$var} instead at /var/www/nextcloud/3rdparty/scssphp/scssphp/src/Compiler.php#3491
GET /apps/theming/theme/light.css?plain=0&v=b6692ea5
from LOCAL-IP at 2023-05-28T08:37:28+02:00
are back in the original files of the update to NC 26.0.2
The line 3491 of …/src/Compiler.php says
if (
\is_callable([$this, $fn]) ||
(($fn = “op${ucLType}${ucRType}”) &&
\is_callable([$this, $fn]) &&
$passOp = true) ||
(($fn = “op${ucOpName}”) &&
\is_callable([$this, $fn]) &&
$genOp = true)
like the solution on github mentioned
Shouldn’t lines 3491 ff be like this?
if (
\is_callable([$this, $fn]) ||
(($fn = “op{$ucLType}{$ucRType}”) &&
\is_callable([$this, $fn]) &&
$passOp = true) ||
(($fn = “op{$ucOpName}”) &&
\is_callable([$this, $fn]) &&
$genOp = true)
My System is ubuntu 22.04.2, PHP 8.2.6
I still have the …/3rdparty/scssphp/scssphp/src folder of the 26.0.1 in my updater_xxxxx/backups folder.
The error “…Using ${var} in strings is deprecated, use {$var} instead…” leads me to the to this
opened 09:03AM - 23 Mar 23 UTC
closed 10:14AM - 17 Aug 23 UTC
bug
0. Needs triage
26-feedback
### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no… t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] Nextcloud Server **is** running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
After updating to PHP 8.2, the error log throws following error:
PHP] Error: Using ${var} in strings is deprecated, use {$var} instead at /var/www/nextcloud/3rdparty/scssphp/scssphp/src/Compiler.php#3491
GET /apps/theming/theme/dark.css?plain=0&v=3832917f
from xxx.xxx.xxx.xxx by xxx at 2023-03-22T22:05:57+01:00
### Steps to reproduce
restart Nextcloud
### Expected behavior
no error
update Compiler.php to the latest version
### Installation method
Community Manual installation with Archive
### Operating system
Debian/Ubuntu
### PHP engine version
PHP 8.1
### Web server
Nginx
### Database engine version
MariaDB
### Is this bug present after an update or on a fresh install?
None
### Are you using the Nextcloud Server Encryption module?
None
### What user-backends are you using?
- [ ] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
_No response_
### List of activated Apps
```shell
irrelevant
```
### Nextcloud Signing status
_No response_
### Nextcloud Logs
_No response_
### Additional info
_No response_