Skip to content

[Bug]: Maps settings do not work #1596

@Wrong-Code

Description

@Wrong-Code

⚠️ This issue respects the following points: ⚠️

Bug description

Thanks to @CarlSchwan efforts, I've finally switched to NC 34 and Maps 1.7.1. However I am still on Debian 12, as my NC installation is based on nextcloudpi project which does not support Debian 13 yet. PHP is version 8.3.31

When accessing the Maps settings, none of the three checkboxes (Track my position, Open geo links, and Display time filter slider) works, that is the checkbox does not react to the mouse click at all.

Steps to reproduce

  1. Open the Maps application
  2. Click on the Settings button
  3. Try to click on any of the three emerging checkboxes. The checkbox remains deaf to mouse interactions, and the underlying action is not fired.

I've checked the app with both Firefox and Microsoft Edge.

Expected behavior

I understand the Maps support for the latest NC versions is still a work in progress. I cannot determine if the reported behavior is expected within the current project's limitations, or if it is a real bug.

Installation method

Other

Operating system

Debian/Ubuntu

PHP engine version

Other

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install of the server?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Is this bug present after an update or on a fresh install of the app?

Updated from a minor version

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "1": ***REMOVED SENSITIVE VALUE***",
        },
        "default_phone_region": "ES",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.5.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/data\/nextcloud\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "maintenance": false,
        "logfile": "\/data\/nextcloud\/nextcloud.log",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "maintenance_window_start": 3,
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\Image"
        ],
        "memories.gis_type": 1,
        "memories.vod.disable": false,
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.vod.vaapi": true,
        "memories.vod.use_transpose": true,
        "loglevel": 2,
        "data-fingerprint": "311d68f60ae31e000adbbf263489e44c",
        "theme": "",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***"
        "overwritecondaddr": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": {
            "1": "camerarawpreviews",
            "2": "maps",
            "3": "occweb"
        },
        "serverid": 397
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0
  - admin_audit: 1.23.0
  - bookmarks: 16.2.0
  - bruteforcesettings: 6.0.0
  - calendar: 6.4.2
  - camerarawpreviews: 1.1.1
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contacts: 8.7.0
  - contactsinteraction: 1.14.1
  - cookbook: 0.11.7
  - dashboard: 7.13.0
  - dav: 1.36.0
  - external: 8.0.1
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0
  - files_external: 1.25.1
  - files_pdfviewer: 6.0.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - firstrunwizard: 6.0.0
  - groupfolders: 21.0.7
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - maps: 1.7.1
  - memories: 8.0.1
  - nextcloud_announcements: 5.0.0
  - notes: 6.0.0
  - notifications: 6.0.0
  - notify_push: 1.3.3
  - oauth2: 1.21.0
  - password_policy: 5.0.0
  - photos: 6.0.0
  - previewgenerator: 5.13.0
  - privacy: 5.0.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - recommendations: 6.0.0
  - related_resources: 4.0.0
  - serverinfo: 5.0.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - support: 5.0.0
  - survey_client: 5.0.0
  - systemtags: 1.23.0
  - tasks: 0.17.1
  - text: 7.0.1
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0
  - user_status: 1.13.0
  - viewer: 6.0.0
  - weather_status: 1.13.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - app_api: 33.0.0 (installed 5.0.2)
  - circles: 33.0.0 (installed 28.0.0)
  - encryption: 2.21.0
  - nextcloudpi: 0.0.2 (installed 0.0.2)
  - occweb: 0.2.3 (installed 0.2.3)
  - suspicious_login: 11.0.0
  - twofactor_nextcloud_notification: 7.0.0
  - updatenotification: 1.23.0 (installed 1.18.0)
  - user_ldap: 1.24.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"aiiqs9AYIbbBetvw9wCmvgAAVB8","level":3,"time":"2026-06-10T00:07:15+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"index","method":"GET","url":"/index.php/apps/maps/","scriptName":"/index.php","message":"OCA\\Maps\\Controller\\PageController::__construct(): Argument #3 ($userId) must be of type string, null given","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0","version":"33.0.5.1","exception":{"Exception":"TypeError","Message":"OCA\\Maps\\Controller\\PageController::__construct(): Argument #3 ($userId) must be of type string, null given","Code":0,"Trace":[{"function":"__construct","class":"OCA\\Maps\\Controller\\PageController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":74,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":131,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":157,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":360,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":330,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":133,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/maps/lib/Controller/PageController.php","Line":32,"message":"OCA\\Maps\\Controller\\PageController::__construct(): Argument #3 ($userId) must be of type string, null given","exception":"{\"class\":\"TypeError\",\"message\":\"OCA\\Maps\\Controller\\PageController::__construct(): Argument #3 ($userId) must be of type string, null given\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/maps/lib/Controller/PageController.php:32\",\"trace\":\"#0 [internal function]: OCA\\Maps\\Controller\\PageController->__construct()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(74): ReflectionClass->newInstanceArgs()\\n#2 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\\AppFramework\\Utility\\SimpleContainer->buildClass()\\n#3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(157): OC\\AppFramework\\Utility\\SimpleContainer->resolve()\\n#4 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(360): OC\\AppFramework\\Utility\\SimpleContainer->query()\\n#5 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(330): OC\\AppFramework\\DependencyInjection\\DIContainer->queryNoFallback()\\n#6 /var/www/nextcloud/lib/private/AppFramework/App.php(133): OC\\AppFramework\\DependencyInjection\\DIContainer->query()\\n#7 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#8 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#9 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#10 {main}\"}","CustomMessage":"OCA\\Maps\\Controller\\PageController::__construct(): Argument #3 ($userId) must be of type string, null given"}}

Browser Console

Additional info

Installed via nextcloudpi in an LXC container running under Proxmox 9.x

PHP 8.3 updated by the normal Debian upgrades.

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions