Registration in NC12 internal error

Has anyone else seen this with the registration app?

Error: Call to undefined method OC\Server::getDb()
/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php - line 113: OCA\Registration\AppInfo\Application->OCA\Registration\AppInfo\{closure}(Object(OC\AppFramework\DependencyInjection\DIContainer))
/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 115: Pimple\Container->offsetGet('PendingRegist')
/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 423: OC\AppFramework\Utility\SimpleContainer->query('PendingRegist')
/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 408: OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('PendingRegist')
/var/www/html/apps/registration/appinfo/application.php - line 41: OC\AppFramework\DependencyInjection\DIContainer->query('PendingRegist')
/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php - line 113: OCA\Registration\AppInfo\Application->OCA\Registration\AppInfo\{closure}(Object(OC\AppFramework\DependencyInjection\DIContainer))
/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 115: Pimple\Container->offsetGet('RegisterControl...')
/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 423: OC\AppFramework\Utility\SimpleContainer->query('RegisterControl...')
/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 408: OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('RegisterControl...')
/var/www/html/lib/private/AppFramework/App.php - line 91: OC\AppFramework\DependencyInjection\DIContainer->query('RegisterControl...')
/var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('RegisterControl...', 'askEmail', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
/var/www/html/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
/var/www/html/lib/base.php - line 1000: OC\Route\Router->match('/apps/registrat...')
/var/www/html/index.php - line 40: OC handleRequest()
{main}

It looks like something changed in NC12 and the app is no longer calling the correct function.

Not using it, but the weather app had a similar issue and uses now a differently named function:

Perhaps a similar fix works here as well. Don’t forget to notify the developer:

1 Like

:thumbsup:

Hi,

what about a solution for that Problem ? We need the registration app.

Andreas

Take it up with the app developer as I have :slight_smile: