Skip to content

NC 33 Beta 4 - Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute() #945

@elephantastyczny

Description

@elephantastyczny

Steps to reproduce

  1. Open conversation
  2. Try to attach / upload image (both via web or mobile client
  3. Observe the issue

Expected behaviour

Photo/image should be attached to the message

Actual behaviour

Message Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute() is shown and image isn't added to the message

Talk app

23.0.0-beta.2 (see apps administration page: /index.php/settings/apps)

Custom Signaling server configured: yes OK: Running version: 2.0.4~docker (see Talk administration settings: /index.php/settings/admin/talk#signaling_server)

Custom TURN server configured: yes and running fine (see Talk administration settings: /index.php/settings/admin/talk#turn_server)

Custom STUN server configured: yes (see Talk administration settings: /index.php/settings/admin/talk#stun_server)

Server configuration

Operating system: Ubuntu

Web server: Apache

Database: PostgreSQL

PHP version: 8.3

Nextcloud Version: [Nextcloud Hub 25 Autumn] (33.0.0 beta 4) - Nextcloud AIO v12.5.0

Details
Enabled:
  - activity: 6.0.0-dev.0
  - admin_audit: 1.23.0
  - audioplayer: 3.7.0
  - bruteforcesettings: 6.0.0-dev.0
  - circles: 33.0.0-dev.0
  - cloud_federation_api: 1.17.0
  - collectives: 3.5.0
  - comments: 1.23.0
  - contacts: 8.3.0-rc.1
  - 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_confidential: 4.0.0
  - files_downloadlimit: 5.1.0-dev.0
  - files_external: 1.25.1
  - files_fulltextsearch: 32.0.2
  - files_pdfviewer: 6.0.0-dev.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.1
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - firstrunwizard: 6.0.0-dev.0
  - fulltextsearch: 32.0.0
  - fulltextsearch_elasticsearch: 32.0.2
  - gpxpod: 8.0.0
  - imageconverter: 2.1.0
  - integration_giphy: 2.2.0
  - integration_openstreetmap: 3.0.0
  - logreader: 6.0.0-dev.0
  - lookup_server_connector: 1.21.0
  - mail: 5.7.0-beta.2
  - nextcloud-aio: 0.8.0
  - notes: 4.12.4
  - notifications: 6.0.0-dev.0
  - notify_push: 1.3.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0-dev.0
  - photos: 6.0.0-dev.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
  - richdocuments: 9.0.2
  - serverinfo: 5.0.0-dev.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - spreed: 23.0.0-beta.2
  - support: 5.0.0-dev.0
  - survey_client: 5.0.0-dev.0
  - suspicious_login: 11.0.0-dev.0
  - systemtags: 1.23.0
  - tables: 2.0.0-beta.1
  - tasks: 0.17.1
  - text: 7.0.0-dev.3
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_nextcloud_notification: 7.0.0-dev.0
  - twofactor_totp: 15.0.0-dev.0
  - updatenotification: 1.23.0
  - user_saml: 7.1.1
  - 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:
  - app_api: 33.0.0-dev.0 (installed 32.0.0)
  - audiocoverpreview: 0.8.1 (installed 0.8.1)
  - calendar: 6.1.5 (installed 6.1.4)
  - cookbook: 0.11.5 (installed 0.11.5)
  - dav_push: 1.0.0 (installed 1.0.0)
  - deck: 1.16.3 (installed 1.16.3)
  - encryption: 2.21.0
  - forms: 5.2.3 (installed 5.2.3)
  - groupfolders: 20.1.7 (installed 20.1.7)
  - maps: 1.6.0 (installed 1.6.0)
  - music: 2.5.1 (installed 2.5.1)
  - nextcloud_announcements: 5.0.0-dev.0 (installed 4.0.0-dev.0)
  - phonetrack: 0.9.1 (installed 0.9.1)
  - uppush: 2.3.1 (installed 2.3.1)
  - user_ldap: 1.24.0 (installed 1.23.0)
  - whiteboard: 1.5.2 (installed 1.5.2)```
</details>

**Nextcloud configuration:**

<details>

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

</details>

### Server log (data/nextcloud.log)
Error
Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
/var/www/html/custom_apps/fulltextsearch/lib/Service/IndexService.php
Line 484
OCA\FullTextSearch\Db\IndexesRequest->getIndexes(
  "*** sensitive parameters replaced ***",
  "*** sensitive parameters replaced ***"
)
/var/www/html/lib/private/FullTextSearch/FullTextSearchManager.php
Line 151
OCA\FullTextSearch\Service\IndexService->updateIndexStatus(
  "*** sensitive parameters replaced ***"
)
/var/www/html/custom_apps/files_fulltextsearch/lib/Listeners/FileChanged.php
Line 38
OC\FullTextSearch\FullTextSearchManager->updateIndexStatus(
  "*** sensitive parameters replaced ***"
)
/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php
Line 57
OCA\Files_FullTextSearch\Listeners\FileChanged->handle(
  {
    "__class__": "OCP\\Files\\Events\\Node\\NodeWrittenEvent"
  }
)
/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php
Line 220
OC\EventDispatcher\ServiceEventListener->__invoke(
  {
    "__class__": "OCP\\Files\\Events\\Node\\NodeWrittenEvent"
  },
  "OCP\\Files\\Events\\Node\\NodeWrittenEvent",
  {
    "__class__": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
  }
)
/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php
Line 56
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(
  [
    {
      "__class__": "Closure"
    },
    {
      "__class__": "Closure"
    },
    {
      "__class__": "Closure"
    },
    {
      "__class__": "Closure"
    },
    {
      "__class__": "Closure"
    },
    "And 3 more entries, set log level to debug to see all entries"
  ],
  "OCP\\Files\\Events\\Node\\NodeWrittenEvent",
  {
    "__class__": "OCP\\Files\\Events\\Node\\NodeWrittenEvent"
  }
)
/var/www/html/lib/private/EventDispatcher/EventDispatcher.php
Line 67
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(
  {
    "__class__": "OCP\\Files\\Events\\Node\\NodeWrittenEvent"
  },
  "OCP\\Files\\Events\\Node\\NodeWrittenEvent"
)
/var/www/html/lib/private/EventDispatcher/EventDispatcher.php
Line 79
OC\EventDispatcher\EventDispatcher->dispatch(
  "OCP\\Files\\Events\\Node\\NodeWrittenEvent",
  {
    "__class__": "OCP\\Files\\Events\\Node\\NodeWrittenEvent"
  }
)
/var/www/html/lib/private/Files/Node/HookConnector.php
Line 83
OC\EventDispatcher\EventDispatcher->dispatchTyped(
  {
    "__class__": "OCP\\Files\\Events\\Node\\NodeWrittenEvent"
  }
)
/var/www/html/lib/private/legacy/OC_Hook.php
Line 85
OC\Files\Node\HookConnector->postWrite(
  {
    "path": "/Talk/bat elephant sign (3).png"
  }
)
/var/www/html/apps/dav/lib/Connector/Sabre/File.php
Line 443
OC_Hook::emit(
  "OC_Filesystem",
  "post_write",
  {
    "path": "/Talk/bat elephant sign (3).png"
  }
)
/var/www/html/apps/dav/lib/Connector/Sabre/File.php
Line 363
OCA\DAV\Connector\Sabre\File->emitPostHooks(
  true
)
/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php
Line 1137
OCA\DAV\Connector\Sabre\File->put(
  "*** sensitive parameters replaced ***"
)
/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php
Line 492
Sabre\DAV\Server->updateFile(
  "*** sensitive parameters replaced ***"
)
/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php
Line 89
Sabre\DAV\CorePlugin->httpPut(
  {
    "__class__": "Sabre\\HTTP\\Request"
  },
  {
    "__class__": "Sabre\\HTTP\\Response"
  }
)
/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php
Line 472
Sabre\DAV\Server->emit(
  "method:PUT",
  [
    {
      "__class__": "Sabre\\HTTP\\Request"
    },
    {
      "__class__": "Sabre\\HTTP\\Response"
    }
  ]
)
/var/www/html/apps/dav/lib/Connector/Sabre/Server.php
Line 212
Sabre\DAV\Server->invokeMethod(
  {
    "__class__": "Sabre\\HTTP\\Request"
  },
  {
    "__class__": "Sabre\\HTTP\\Response"
  }
)
/var/www/html/apps/dav/lib/Server.php
Line 427
OCA\DAV\Connector\Sabre\Server->start()
/var/www/html/apps/dav/appinfo/v2/remote.php
Line 25
OCA\DAV\Server->exec()
/var/www/html/remote.php
Line 151
undefinedundefinedrequire_once(
  "/var/www/html/apps/dav/appinfo/v2/remote.php"
)

Insert your server log here

</details>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions