nextcloud / nextcloud/server

webdav Error Typed property OC\Share20\DefaultShareProvider::$dbConn must not be accessed before initialization

Open
#56,850 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 31-feedback bug
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Hi There

Error Message:
webdav | Error Typed property OC\Share20\DefaultShareProvider::$dbConn must not be accessed before initialization

Cant open Group-Folders after a Update to Nextcloud Hub 10 (31.0.11)
Not sure if it is a bug or not.

Image

Running On:

Ubuntu 24.04

PHP
Version: 8.4.15
Memory limit: 512 MB
Max execution time: 3600
Upload max size: 2 GB
OPcache Revalidate Frequency: 2

Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, ldap, exif, mcrypt, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, redis, Zend OPcache

DB
Type: mysql
Version: 10.11.13
Size: 145.9 MB

cheers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the initialization and access of OC\Share20\DefaultShareProvider::$dbConn, then reproduce the reported failure by opening Group-Folders after the upgrade. Done means identifying the cause of the typed-property error and confirming that Group-Folders open successfully in the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.