Skip to content

array_last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead at /var/www/nextcloud/apps/bookmarks/vendor/illuminate/support/helpers.php#183 #2321

@mayonezo

Description

@mayonezo

Describe the bug
I get a hole bunch of error entries in my log.

To Reproduce
Steps to reproduce the behavior:

  1. Run Nextcloud 31.0.8 with PHP 8.4 and Bookmarks App
  2. Look at the log file.

Expected behavior
No error log entries.

Server (please complete the following information):

  • OS: Debian Trixie
  • HTTP server: apache2
  • Database: mariadb
  • PHP version: 8.4
  • Nextcloud version: 31.0.8
  • Bookmarks app version: 15.1.3

Nextcloud log (nextcloud/data/nextcloud.log)

{
  "reqId": "mQo3awBS8jwGh1YzeTp4",
  "level": 3,
  "time": "2025-08-25T01:01:14+02:00",
  "remoteAddr": "",
  "user": "--",
  "app": "PHP",
  "method": "",
  "url": "--",
  "message": "array_last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead at /var/www/nextcloud/apps/bookmarks/vendor/illuminate/support/helpers.php#183",
  "userAgent": "--",
  "version": "31.0.8.1",
  "data": {
    "app": "PHP"
  },
  "id": "68ab9aa850229"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions