ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 26 Winter (33.0.0)
  • Operating system and version (e.g., Ubuntu 24.04):
    • linuxserver/nextcloud:latest
  • Web server and version (e.g, Apache 2.4.25):
    • nginx
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx
  • PHP version (e.g, 8.3):
    • linuxserver/nextcloud:latest
  • Is this the first time you’ve seen this error? (Yes / No):
    • from quite some time
  • When did this problem seem to first start?
    • after some update
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Docker linuxserver/nextcloud:latest
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

In Overview I found “942 errors in the logs since 1. März 2026, 16:25:41”. After checking logs I see a lot of errors like

Error no app in context ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute() 08.03.2026, 16:26:27
Error webdav ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute() 08.03.2026, 16:26:27

Steps to replicate it (hint: details matter!):

  1. Open Overview

  2. Find “942 errors in the logs since 1. März 2026, 16:25:41”

  3. Check logs

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Error
	no app in context
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:27
	
Error
	webdav
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:27
	
Error
	no app in context
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:26
	
Error
	webdav
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:26
	
Error
	no app in context
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:16
	
Error
	webdav
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:16
	
Error
	no app in context
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:09
	
Error
	webdav
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:09
	
Error
	no app in context
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:05
	
Error
	webdav
	
ErrorCall to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
	08.03.2026, 16:26:05

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.example.com",
            "192.168.178.2:8088",
            "cloud.example.com:8088"
        ],
        "dbtype": "sqlite3",
        "dbtableprefix": "oc_",
        "version": "33.0.0.16",
        "overwrite.cli.url": "https:\/\/cloud.example.com",
        "installed": true,
        "overwriteprotocol": "https",
        "overwritehost": "cloud.example.com,
        "twofactor_enforced": "false",
        "bulkupload.enabled": false,
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpport": "465",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "PLAIN",
        "maintenance": false,
        "maintenance_window_start": 100,
        "theme": "",
        "loglevel": 1,
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\APCu",
        "upgrade.disable-web": true,
        "mail_smtpsecure": "ssl",
        "tempdirectory": "\/data\/temp",
        "enabledPreviewProviders": [
            "OC\\Preview\\BMP",
            "OC\\Preview\\GIF",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\Krita",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MP3",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PNG",
            "OC\\Preview\\TXT",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\MP4",
            "OC\\Preview\\Movie",
            "OC\\Preview\\Image",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\TF"
        ],
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/config\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-musl",
        "memories.vod.path": "\/config\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.index.mode": "3",
        "memories.index.path": "\/Photos",
        "memories.vod.disable": false,
        "memories.vod.vaapi.low_power": true,
        "app_install_overwrite": [
            "files_texteditor",
            "snappymail",
            "maps"
        ],
        "memories.video_default_quality": "-2",
        "memories.vod.vaapi": true,
        "memories.vod.external": true,
        "memories.vod.connect": "go-vod:47788",
        "files.chunked_upload.max_size": 150000000,
        "config_preset": 2
    }
}

Apps

The output of occ app:list (if possible).
Enabled:

  • activity: 6.0.0-dev.0
  • admin_audit: 1.23.0
  • app_api: 33.0.0
  • assistant: 3.3.0
  • bruteforcesettings: 6.0.0-dev.0
  • circles: 33.0.0
  • cloud_federation_api: 1.17.0
  • comments: 1.23.0
  • contactsinteraction: 1.14.1
  • dashboard: 7.13.0
  • dav: 1.36.0
  • federatedfilesharing: 1.23.0
  • federation: 1.23.0
  • files: 2.5.0
  • files_automatedtagging: 4.0.0
  • files_downloadlimit: 5.1.0-dev.0
  • files_external: 1.25.1
  • files_pdfviewer: 6.0.0-dev.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-dev.0
  • integration_dropbox: 4.1.0
  • integration_openai: 4.3.0
  • integration_paperless: 1.0.11
  • logreader: 6.0.0
  • lookup_server_connector: 1.21.0
  • mail: 5.7.2
  • maps: 1.6.0
  • nextcloud_announcements: 5.0.0
  • notifications: 6.0.0
  • oauth2: 1.21.0
  • oidc: 1.16.2
  • password_policy: 5.0.0-dev.0
  • photos: 6.0.0-dev.0
  • previewgenerator: 5.13.0
  • privacy: 5.0.0-dev.0
  • profile: 1.2.0
  • provisioning_api: 1.23.0
  • recommendations: 6.0.0-dev.0
  • related_resources: 4.0.0-dev.0
  • serverinfo: 5.0.0-dev.0
  • settings: 1.16.0
  • sharebymail: 1.23.0
  • snappymail: 2.38.2
  • support: 5.0.0
  • survey_client: 5.0.0-dev.0
  • suspicious_login: 11.0.0-dev.0
  • systemtags: 1.23.0
  • text: 7.0.0-dev.3
  • theming: 2.8.0
  • twofactor_backupcodes: 1.22.0
  • twofactor_totp: 15.0.0-dev.0
  • updatenotification: 1.23.0
  • user_status: 1.13.0
  • viewer: 6.0.0-dev.0
  • weather_status: 1.13.0
  • webhook_listeners: 1.5.0
  • workflowengine: 2.15.0
    Disabled:
  • encryption: 2.21.0
  • guests: 4.6.0 (installed 4.6.0)
  • memories: 7.8.2 (installed 7.8.2)
  • notes: 4.13.0 (installed 4.13.0)
  • twofactor_nextcloud_notification: 7.0.0
  • twofactor_webauthn: 2.6.0 (installed 2.6.0)
  • user_ldap: 1.24.0

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

If you check the full (raw) log entry you’ll likely see maps referenced. You have it force enabled so compatibility checks are bypassed at update/upgrade time.

This has come up on the forum previously; probably would have come up in a search. :wink:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.