Skip to content

Cannot declare class OCA\Talk\Migration\Version2000Date20170707093535Β #2806

@NeutroGe

Description

@NeutroGe

Edit by @nickvergessen

βœ… Solution

We were only able to solve this in Nextcloud Server 19 onwards. So the major update from Nextcloud 17 to 18 will always trigger this.

🚧 Workaround

Uninstall the app and install it again.


Original Post by @NeutroGe

Steps to reproduce

  1. Install a fresh nextcloud 18.0.0.10 (latest current version)
  2. Try to install Talk app
  3. Check errors in nextcloud logs

{"reqId":"Xia6aNr0WbUmo-qoephJHQAAANM","level":3,"time":"2020-01-21T08:46:34+00:00","remoteAddr":"xx.xx.85.194","user":"******","app":"PHP","method":"POST","url":"/settings/apps/enable","message":"Cannot declare class OCA\Talk\Migration\Version2000Date20170707093535, because the name is already in use at /var/www/html/nextcloud/apps/spreed/lib/Migration/Version2000Date20170707093535.php#31","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","version":"18.0.0.10","id":"5e26ba7581626"}

Operating system: Centos 8

Web server: Apache

Database: Maria

PHP version: PHP 7.4.1 (cli)

Nextcloud Version: 18.0.0.10

Thanks for your help.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions