nextcloud / news

:newspaper: RSS/Atom feed reader
https://apps.nextcloud.com/apps/news
GNU Affero General Public License v3.0
866 stars 186 forks source link

Using ${var} in strings is deprecated #2656

Closed politas closed 6 months ago

politas commented 6 months ago

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

Explain the Problem

Log entry PHP Error - Using ${var} in strings is deprecated.

Steps to Reproduce

Explain what you did to encounter the issue

  1. Opened Administration settings, saw message saying "Error encountered whilst checking server setup", opened logging and found one entry in log.

System Information

Contents of nextcloud/data/nextcloud.log ```json {"reqId":"zjCCg4ZEl4swNTKM2eoD","level":3,"time":"2024-05-03T06:29:58+00:00","remoteAddr":"220.233.90.45","user":"admin","app":"PHP","method":"GET","url":"/settings/apps/updates","message":"Using ${var} in strings is deprecated, use {$var} instead at /var/www/html/custom_apps/news/lib/Controller/ExportController.php#64","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36","version":"29.0.0.19","data":{"app":"PHP"},"id":"663486576a708"} ```
politas commented 6 months ago

Ah, sorry, duplicate of #2601. I didn't check for closed issues.