Collectives App not working

Hey All,
I will test the Collective App but after the installation my Protocol throws a lot of Error and I can’t create a collectiv in the App.

This is the Error:
[collectives] Fehler: OCA\Collectives\Service\MissingDependencyException: Could not resolve OCA\Circles\CirclesManager! Class “OCA\Circles\CirclesManager” does not exist at <>

  1. /var/www/nextcloud/apps/collectives/lib/Service/CircleHelper.php line 93
    OCA\Collectives\Service\CircleHelper->startSession()
  2. /var/www/nextcloud/apps/collectives/lib/Service/CollectiveHelper.php line 44
    OCA\Collectives\Service\CircleHelper->getCircles()
  3. /var/www/nextcloud/apps/collectives/lib/Mount/MountProvider.php line 66
    OCA\Collectives\Service\CollectiveHelper->getCollectivesForUser()
  4. /var/www/nextcloud/apps/collectives/lib/Mount/MountProvider.php line 117
    OCA\Collectives\Mount\MountProvider->getFoldersForUser()
  5. /var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php line 89
    OCA\Collectives\Mount\MountProvider->getMountsForUser()
  6. /var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php line 138
    OC\Files\Config\MountProviderCollection->getMountsFromProvider()
  7. /var/www/nextcloud/lib/private/Files/SetupManager.php line 228
    OC\Files\Config\MountProviderCollection->addMountForUser()
  8. /var/www/nextcloud/lib/private/Files/SetupManager.php line 327
    OC\Files\SetupManager->OC\Files{closure}(“*** sensitive parameters replaced ***”)
  9. /var/www/nextcloud/lib/private/Files/SetupManager.php line 229
    OC\Files\SetupManager->setupForUserWith()
  10. /var/www/nextcloud/lib/private/Files/SetupManager.php line 406
    OC\Files\SetupManager->setupForUser()
  11. /var/www/nextcloud/lib/private/Files/Mount/Manager.php line 128
    OC\Files\SetupManager->setupForPath()
  12. /var/www/nextcloud/lib/private/Files/View.php line 1393
    OC\Files\Mount\Manager->findIn()
  13. /var/www/nextcloud/lib/private/Files/Node/Node.php line 119
    OC\Files\View->addSubMounts()
  14. /var/www/nextcloud/lib/private/Files/Node/Node.php line 236
    OC\Files\Node\Node->getFileInfo()
  15. <>
    OC\Files\Node\Node->getEtag()
  16. /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php line 73
    call_user_func_array()
  17. /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php line 237
    OC\Files\Node\LazyFolder->__call()
  18. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Node.php line 208
    OC\Files\Node\LazyFolder->getEtag()
  19. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/FilesPlugin.php line 330
    OCA\DAV\Connector\Sabre\Node->getETag()
  20. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
    OCA\DAV\Connector\Sabre\FilesPlugin->OCA\DAV\Connector\Sabre{closure}(“*** sensitive parameters replaced ***”)
  21. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/FilesPlugin.php line 331
    Sabre\DAV\PropFind->handle()
  22. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Connector\Sabre\FilesPlugin->handleGetProperties()
  23. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit()
  24. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 984
    Sabre\DAV\Server->getPropertiesByNode()
  25. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
    Sabre\DAV\Server->getPropertiesIteratorForPath()
  26. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
    Sabre\DAV\Server->writeMultiStatus()
  27. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus()
  28. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind()
  29. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
  30. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
  31. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  32. /var/www/nextcloud/apps/dav/lib/Server.php line 364
    Sabre\DAV\Server->exec()
  33. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  34. /var/www/nextcloud/remote.php line 172
    require_once(“/var/www/nextcl … p”)

PROPFIND /remote.php/dav/files/112E9B89-F41E-44C5-B1F3-3E840DAF9BCE/
from 10.0.129.62 by 112E9B89-F41E-44C5-B1F3-3E840DAF9BCE at 2023-07-19T12:58:09+02:00

Nextcloud Version is 27.0.0

THanks a lot!

Dear @schueller, do you have the Circles app enabled? Also, did you try to restart your webserver or PHP process to see if that helps?

It seems like the PHP class CircleManager cannot be resolved. It should be provided by the Circles app.

Hey,
of course, without the Circle App it is not possible to do anything with the collectives app. :slight_smile:

But restarting PHP solve the Error, thank you very mutch!

I had the Circle App disabled by intention, and thus expected this warning not to be shown.

How about fixing that code to check first whether the app is enabled before printing a warning?

1 Like

I have the same Problem.

"File": "/var/www/nextcloud/apps/collectives/lib/Service/CircleHelper.php",
    "Line": 67,
    "message": "Collectives App Error: Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist",

To fix this problem I already disabled the circles app and deinstalled the collectives, but without success.
I Also have an exception:

Could not fetch collectives from trash
Internal Server Error

if I try to use the “Kollektive App”.

Is there any fix?
NextCloud 27.0.2
circles: 27.0.1
collectives: 2.9.1

Dear @kpleines, as stated earlier the Circles app is required for Collectives to work. Did you restart the webserver or php-fpm process in the meantime to see whether that helps?