Skip to content

Fix - Replaced deprecated QueryBuilder execute()#1264

Merged
susnux merged 8 commits intomasterfrom
jtr/chore-replace-deprecated-qb-execute
Feb 27, 2026
Merged

Fix - Replaced deprecated QueryBuilder execute()#1264
susnux merged 8 commits intomasterfrom
jtr/chore-replace-deprecated-qb-execute

Conversation

@joshtrichards
Copy link
Copy Markdown
Member

@joshtrichards joshtrichards commented Feb 22, 2026

Fixes #1263

Needs to be fixed before next maintenance release (i.e. 33.0.1) since this is a shipped app...

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added this to the Nextcloud 34 milestone Feb 22, 2026
@joshtrichards joshtrichards added bug Something isn't working 3. to review labels Feb 22, 2026
@joshtrichards
Copy link
Copy Markdown
Member Author

/backport to stable33

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards changed the title Fix Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute() Fix - Replaced deprecated and removed $qb->execute() Feb 22, 2026
@joshtrichards joshtrichards changed the title Fix - Replaced deprecated and removed $qb->execute() Fix - Replaced deprecated QueryBuilder execute() Feb 23, 2026
@susnux susnux merged commit f8b5704 into master Feb 27, 2026
42 checks passed
@susnux susnux deleted the jtr/chore-replace-deprecated-qb-execute branch February 27, 2026 13:37
@stefangweichinger
Copy link
Copy Markdown

I expected this one in NC-33.0.1, but the docker image seems not to contain it: I still see these "Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()" errors.

@skjnldsv
Copy link
Copy Markdown
Member

@stefangweichinger can you show the full error please?

@stefangweichinger
Copy link
Copy Markdown

stefangweichinger commented Mar 28, 2026

{"reqId":"lvQ91oiOjPlVvc2DJ7A6","level":3,"time":"2026-03-28T09:03:55+01:00","remoteAddr":"46.124.199.238","user":"--","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/calendars/gerhard.mayer/eautos-reservierungen_shared_by_office/","scriptName":"/remote.php","message":"Uncaught exception","userAgent":"DAVx5/4.2.3.4-ose (2022/09/22; dav4jvm; okhttp/4.10.0) Android/16","version":"33.0.1.2","exception":{"Exception":"Error","Message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","Code":0,"Trace":[{"file":"/var/www/html/lib/private/User/Manager.php","line":142,"function":"userExists","class":"OCA\\UserExternal\\Base","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/password_policy/lib/ComplianceService.php","line":66,"function":"get","class":"OC\\User\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/password_policy/lib/Listener/BeforeUserLoggedInEventListener.php","line":31,"function":"entryControl","class":"OCA\\Password_Policy\\ComplianceService","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":57,"function":"handle","class":"OCA\\Password_Policy\\Listener\\BeforeUserLoggedInEventListener","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":220,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"},"OCP\\User\\Events\\BeforeUserLoggedInEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"}],"OCP\\User\\Events\\BeforeUserLoggedInEvent",{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":67,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"},"OCP\\User\\Events\\BeforeUserLoggedInEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":79,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\User\\Events\\BeforeUserLoggedInEvent",{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"file":"/var/www/html/lib/private/Server.php","line":524,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"function":"{closure:{closure:OC\\Server::__construct():469}:519}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Hooks/EmitterTrait.php","line":89,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Hooks/PublicEmitter.php","line":23,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\User","preLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/User/Session.php","line":388,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\User","preLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":84,"function":"logClientIn","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","line":103,"function":"validateUserPass","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":196,"function":"check","class":"Sabre\\DAV\\Auth\\Backend\\AbstractBasic","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":109,"function":"auth","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":179,"function":"check","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":135,"function":"check","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Server.php","line":212,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":427,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":25,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":151,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/user_external/lib/Base.php","Line":209,"message":"Uncaught exception","exception":"{\"class\":\"Error\",\"message\":\"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()\",\"code\":0,\"file\":\"/var/www/html/apps/user_external/lib/Base.php:209\",\"trace\":\"#0 /var/www/html/lib/private/User/Manager.php(142): OCA\\UserExternal\\Base->userExists('gerhard.mayer')\\n#1 /var/www/html/apps/password_policy/lib/ComplianceService.php(66): OC\\User\\Manager->get('gerhard.mayer')\\n#2 /var/www/html/apps/password_policy/lib/Listener/BeforeUserLoggedInEventListener.php(31): OCA\\Password_Policy\\ComplianceService->entryControl('gerhard.mayer', 'ge2664r')\\n#3 /var/www/html/lib/private/EventDispatcher/ServiceEventListener.php(57): OCA\\Password_Policy\\Listener\\BeforeUserLoggedInEventListener->handle(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#4 /var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php(220): OC\\EventDispatcher\\ServiceEventListener->__invoke(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent), 'OCP\\\\User\\\\Events...', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\\n#5 /var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'OCP\\\\User\\\\Events...', Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#6 /var/www/html/lib/private/EventDispatcher/EventDispatcher.php(67): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent), 'OCP\\\\User\\\\Events...')\\n#7 /var/www/html/lib/private/EventDispatcher/EventDispatcher.php(79): OC\\EventDispatcher\\EventDispatcher->dispatch('OCP\\\\User\\\\Events...', Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#8 /var/www/html/lib/private/Server.php(524): OC\\EventDispatcher\\EventDispatcher->dispatchTyped(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#9 [internal function]: OC\\Server->{closure:{closure:OC\\Server::__construct():469}:519}('gerhard.mayer', 'ge2664r')\\n#10 /var/www/html/lib/private/Hooks/EmitterTrait.php(89): call_user_func_array(Object(Closure), Array)\\n#11 /var/www/html/lib/private/Hooks/PublicEmitter.php(23): OC\\Hooks\\BasicEmitter->emit('\\\\OC\\\\User', 'preLogin', Array)\\n#12 /var/www/html/lib/private/User/Session.php(388): OC\\Hooks\\PublicEmitter->emit('\\\\OC\\\\User', 'preLogin', Array)\\n#13 /var/www/html/apps/dav/lib/Connector/Sabre/Auth.php(84): OC\\User\\Session->logClientIn('gerhard.mayer', 'ge2664r', Object(OC\\AppFramework\\Http\\Request), Object(OC\\Security\\Bruteforce\\Throttler))\\n#14 /var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php(103): OCA\\DAV\\Connector\\Sabre\\Auth->validateUserPass('gerhard.mayer', 'ge2664r')\\n#15 /var/www/html/apps/dav/lib/Connector/Sabre/Auth.php(196): Sabre\\DAV\\Auth\\Backend\\AbstractBasic->check(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#16 /var/www/html/apps/dav/lib/Connector/Sabre/Auth.php(109): OCA\\DAV\\Connector\\Sabre\\Auth->auth(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#17 /var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(179): OCA\\DAV\\Connector\\Sabre\\Auth->check(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#18 /var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(135): Sabre\\DAV\\Auth\\Plugin->check(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#19 /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#20 /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\\DAV\\Server->emit('beforeMethod:PR...', Array)\\n#21 /var/www/html/apps/dav/lib/Connector/Sabre/Server.php(212): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#22 /var/www/html/apps/dav/lib/Server.php(427): OCA\\DAV\\Connector\\Sabre\\Server->start()\\n#23 /var/www/html/apps/dav/appinfo/v2/remote.php(25): OCA\\DAV\\Server->exec()\\n#24 /var/www/html/remote.php(151): require_once('/var/www/html/a...')\\n#25 {main}\"}","CustomMessage":"Uncaught exception"},"id":"69c78b726eb07"}

I am unsure if that's the same error as the one that should have been patched by #1264

At least the message didn't change with NC-33.0.1 and lead me here.

Let me know what else I can provide, I should fix that as some users report temporary issues that might relate to this.

@stefangweichinger
Copy link
Copy Markdown

image

That's how the logs look.

Seems there are 2 alternating messages.

{"reqId":"lvQ91oiOjPlVvc2DJ7A6","level":3,"time":"2026-03-28T09:03:55+01:00","remoteAddr":"46.124.199.238","user":"--","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/calendars/gerhard.mayer/eautos-reservierungen_shared_by_office/","scriptName":"/remote.php","message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","userAgent":"DAVx5/4.2.3.4-ose (2022/09/22; dav4jvm; okhttp/4.10.0) Android/16","version":"33.0.1.2","exception":{"Exception":"Error","Message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","Code":0,"Trace":[{"file":"/var/www/html/lib/private/User/Manager.php","line":142,"function":"userExists","class":"OCA\\UserExternal\\Base","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/password_policy/lib/ComplianceService.php","line":66,"function":"get","class":"OC\\User\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/password_policy/lib/Listener/BeforeUserLoggedInEventListener.php","line":31,"function":"entryControl","class":"OCA\\Password_Policy\\ComplianceService","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":57,"function":"handle","class":"OCA\\Password_Policy\\Listener\\BeforeUserLoggedInEventListener","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":220,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"},"OCP\\User\\Events\\BeforeUserLoggedInEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"}],"OCP\\User\\Events\\BeforeUserLoggedInEvent",{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":67,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"},"OCP\\User\\Events\\BeforeUserLoggedInEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":79,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\User\\Events\\BeforeUserLoggedInEvent",{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"file":"/var/www/html/lib/private/Server.php","line":524,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\User\\Events\\BeforeUserLoggedInEvent"}]},{"function":"{closure:{closure:OC\\Server::__construct():469}:519}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Hooks/EmitterTrait.php","line":89,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Hooks/PublicEmitter.php","line":23,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\User","preLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/User/Session.php","line":388,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\User","preLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":84,"function":"logClientIn","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","line":103,"function":"validateUserPass","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":196,"function":"check","class":"Sabre\\DAV\\Auth\\Backend\\AbstractBasic","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":109,"function":"auth","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":179,"function":"check","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":135,"function":"check","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Server.php","line":212,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":427,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":25,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":151,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/user_external/lib/Base.php","Line":209,"message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","exception":"{\"class\":\"Error\",\"message\":\"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()\",\"code\":0,\"file\":\"/var/www/html/apps/user_external/lib/Base.php:209\",\"trace\":\"#0 /var/www/html/lib/private/User/Manager.php(142): OCA\\UserExternal\\Base->userExists('gerhard.mayer')\\n#1 /var/www/html/apps/password_policy/lib/ComplianceService.php(66): OC\\User\\Manager->get('gerhard.mayer')\\n#2 /var/www/html/apps/password_policy/lib/Listener/BeforeUserLoggedInEventListener.php(31): OCA\\Password_Policy\\ComplianceService->entryControl('gerhard.mayer', 'ge2664r')\\n#3 /var/www/html/lib/private/EventDispatcher/ServiceEventListener.php(57): OCA\\Password_Policy\\Listener\\BeforeUserLoggedInEventListener->handle(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#4 /var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php(220): OC\\EventDispatcher\\ServiceEventListener->__invoke(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent), 'OCP\\\\User\\\\Events...', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\\n#5 /var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'OCP\\\\User\\\\Events...', Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#6 /var/www/html/lib/private/EventDispatcher/EventDispatcher.php(67): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent), 'OCP\\\\User\\\\Events...')\\n#7 /var/www/html/lib/private/EventDispatcher/EventDispatcher.php(79): OC\\EventDispatcher\\EventDispatcher->dispatch('OCP\\\\User\\\\Events...', Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#8 /var/www/html/lib/private/Server.php(524): OC\\EventDispatcher\\EventDispatcher->dispatchTyped(Object(OCP\\User\\Events\\BeforeUserLoggedInEvent))\\n#9 [internal function]: OC\\Server->{closure:{closure:OC\\Server::__construct():469}:519}('gerhard.mayer', 'ge2664r')\\n#10 /var/www/html/lib/private/Hooks/EmitterTrait.php(89): call_user_func_array(Object(Closure), Array)\\n#11 /var/www/html/lib/private/Hooks/PublicEmitter.php(23): OC\\Hooks\\BasicEmitter->emit('\\\\OC\\\\User', 'preLogin', Array)\\n#12 /var/www/html/lib/private/User/Session.php(388): OC\\Hooks\\PublicEmitter->emit('\\\\OC\\\\User', 'preLogin', Array)\\n#13 /var/www/html/apps/dav/lib/Connector/Sabre/Auth.php(84): OC\\User\\Session->logClientIn('gerhard.mayer', 'ge2664r', Object(OC\\AppFramework\\Http\\Request), Object(OC\\Security\\Bruteforce\\Throttler))\\n#14 /var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php(103): OCA\\DAV\\Connector\\Sabre\\Auth->validateUserPass('gerhard.mayer', 'ge2664r')\\n#15 /var/www/html/apps/dav/lib/Connector/Sabre/Auth.php(196): Sabre\\DAV\\Auth\\Backend\\AbstractBasic->check(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#16 /var/www/html/apps/dav/lib/Connector/Sabre/Auth.php(109): OCA\\DAV\\Connector\\Sabre\\Auth->auth(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#17 /var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(179): OCA\\DAV\\Connector\\Sabre\\Auth->check(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#18 /var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(135): Sabre\\DAV\\Auth\\Plugin->check(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#19 /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#20 /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\\DAV\\Server->emit('beforeMethod:PR...', Array)\\n#21 /var/www/html/apps/dav/lib/Connector/Sabre/Server.php(212): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#22 /var/www/html/apps/dav/lib/Server.php(427): OCA\\DAV\\Connector\\Sabre\\Server->start()\\n#23 /var/www/html/apps/dav/appinfo/v2/remote.php(25): OCA\\DAV\\Server->exec()\\n#24 /var/www/html/remote.php(151): require_once('/var/www/html/a...')\\n#25 {main}\"}","CustomMessage":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()"},"id":"69c78b726eb37"}

@stefangweichinger
Copy link
Copy Markdown

Let me know if that should go into a separate issue maybe. Thanks.

@stefangweichinger
Copy link
Copy Markdown

I have hundreds of these errors since the upgrade to 33.0.1 today.
I am unsure what to do: wait here, file another issue (in which repo? "server", "docker" ?).

@stefangweichinger
Copy link
Copy Markdown

I think my issue relates to the user_external app (again). Re-applied some patches, this seems to help.
Sorry for the noise here.

@AndyScherzinger
Copy link
Copy Markdown
Member

Than best raise it there nextcloud/user_external#292 @stefangweichinger in that issue or as a separate one since there is a new release of the app in the making.

@stefangweichinger
Copy link
Copy Markdown

@AndyScherzinger thanks for the pointer!

@AndyScherzinger
Copy link
Copy Markdown
Member

Also since you mentioned

Re-applied some patches, this seems to help.

Can't tell if that is to make the user external app work or additional improvements that could also be up-streamed to the app's code-base for everyone to benefit from them. So just mentioning it for the sake of completeness and awareness ❤️

@stefangweichinger
Copy link
Copy Markdown

@AndyScherzinger good point. Basically the patches that are in nextcloud/user_external#292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute() in file

5 participants