Contacts not compatible with 18

NextCloud : 18.0.14
PHP : Version: 7.3.27
mysql : Version: 10.2.37

after update from 17.0.4 to 18.0.14 , all checking is green. but the Contacts can’t use ! why ?

OCP\AppFramework\QueryException: Could not resolve socialApiService! Class socialApiService does not exist

  1. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 115:OC\AppFramework\Utility\SimpleContainer->resolve(“socialApiService”)
  2. /var/www/nextcloud/lib/private/ServerContainer.php - line 150:OC\AppFramework\Utility\SimpleContainer->query(“socialApiService”, true)
  3. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 389:OC\ServerContainer->query(“socialApiService”, true)
  4. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 77:OC\AppFramework\DependencyInjection\DIContainer->query(“socialApiService”)
  5. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 100:OC\AppFramework\Utility\SimpleContainer->buildClass(ReflectionCl … "})
  6. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 115:OC\AppFramework\Utility\SimpleContainer->resolve(“OCA\Contac … r”)
  7. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 415:OC\AppFramework\Utility\SimpleContainer->query(“OCA\Contac … r”)
  8. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 386:OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback(“OCA\Contac … r”)
  9. /var/www/nextcloud/lib/private/AppFramework/App.php - line 112:OC\AppFramework\DependencyInjection\DIContainer->query(“OCA\Contac … r”)
  10. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:OC\AppFramework\App::main(“OCA\Contac … r”, “index”, OC\AppFramew … {}, { _route: "c … "})
  11. <>OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "c … "})
  12. /var/www/nextcloud/lib/private/Route/Router.php - line 299:call_user_func(OC\AppFramew … {}, { _route: "c … "})
  13. /var/www/nextcloud/lib/base.php - line 1011:OC\Route\Router->match("/apps/contacts/")
  14. /var/www/nextcloud/index.php - line 38:OC::handleRequest()

The error message “Could not resolve socialApiService” indicates that a required app is missing on your system or more likely a general compatibility issue exists with Nextcloud 18.

Unfortunately Nextcloud 18 has already reached the “End-of-Life” status, so that you can’t expect to get any help on this version anymore. You should update your system to a supported Nextcloud version 19/20/21 asap.

I’m very confident that the app will work again, once you’re on a supported version again - at least that problem hasn’t been reported on supported Nextcloud versions yet.

@skjnldsv Please remove the Nextcloud 18 version tag from the Contacts app to prevent such reports in the future.

Sure, but where?

Disable the social API perhaps? Or enable if it is expected.

Nextcloud moves pretty fast, so try to upgrade soon (NC 19 will run out of support soon as well).

Sure, but where?

/contacts/appinfo/info.xml

41:    <dependencies>
42:        <nextcloud min-version="18" max-version="21" />
                                  ^^^^
43:    </dependencies>

Ah there. I thought I left a tag somewhere telling people it was compatible.
Yep, that’s an issue, sorry folks. I removed the compatibility for 18

image