Skip to content

Contacts Search Widget Malfunction? #3479

@musselmandev

Description

@musselmandev

Describe the bug

When clicking the ui element in the navigation bar that allows you to search your contacts in a pop up it thinks for a second and then responds could not load your contacts

Steps to reproduce

  1. Go to practically any page on your nextcloud
  2. Click on the contacts button beside your menu/profile picture
  3. See error
    image

Expected behavior

Shows a list of contacts, and allow you to search them

Actual behavior

Returns error message "Could not load your contacts"

Contact version

5.3.2

Operating system

Fedora 37

PHP engine version

Other

Web server

Apache (supported)

Database

MySQL

Additional info

PHP vers 8.2.7

Error In logs I believe is related
```php [index] Error: Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "guestName" for route "core.GuestAvatar.getAvatar" must match "[^/]++" ("" given) to generate a corresponding URL. at <>
  1. /var/www/html/3rdparty/symfony/routing/Generator/UrlGenerator.php line 160
    Symfony\Component\Routing\Generator\UrlGenerator->doGenerate([0,1], [["core","GuestA ... l], [], [["variable","/" ... ]], ["",64], "core.GuestAvatar.getAvatar", 1, [], [])
  2. /var/www/html/lib/private/Route/Router.php line 372
    Symfony\Component\Routing\Generator\UrlGenerator->generate("core.GuestAvatar.getAvatar", ["",64], 1)
  3. /var/www/html/lib/private/Route/CachingRouter.php line 65
    OC\Route\Router->generate("core.GuestAvatar.getAvatar", ["",64], false)
  4. /var/www/html/lib/private/URLGenerator.php line 103
    OC\Route\CachingRouter->generate("core.GuestAvatar.getAvatar", ["",64])
  5. /var/www/html/lib/private/URLGenerator.php line 115
    OC\URLGenerator->linkToRoute("core.GuestAvatar.getAvatar", ["",64])
  6. /var/www/html/lib/private/Contacts/ContactsMenu/ContactsStore.php line 293
    OC\URLGenerator->linkToRouteAbsolute("core.GuestAvatar.getAvatar", ["",64])
  7. /var/www/html/lib/private/Contacts/ContactsMenu/ContactsStore.php line 110
    OC\Contacts\ContactsMenu\ContactsStore->contactArrayToEntry("*** sensitive parameters replaced ***")
  8. <>
    OC\Contacts\ContactsMenu\ContactsStore->OC\Contacts\ContactsMenu{closure}("*** sensitive parameters replaced ***")
  9. /var/www/html/lib/private/Contacts/ContactsMenu/ContactsStore.php line 109
    array_map(["Closure"], [["65E8257D-AC3B ... "])
  10. /var/www/html/lib/private/Contacts/ContactsMenu/Manager.php line 59
    OC\Contacts\ContactsMenu\ContactsStore->getContacts(["OC\User\User"], null, 25)
  11. /var/www/html/core/Controller/ContactsMenuController.php line 52
    OC\Contacts\ContactsMenu\Manager->getEntries(["OC\User\User"], null)
  12. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 230
    OC\Core\Controller\ContactsMenuController->index(null)
  13. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 137
    OC\AppFramework\Http\Dispatcher->executeController(["OC\Core\Cont ... "], "index")
  14. /var/www/html/lib/private/AppFramework/App.php line 183
    OC\AppFramework\Http\Dispatcher->dispatch(["OC\Core\Cont ... "], "index")
  15. /var/www/html/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main("OC\Core\Contr ... r", "index", ["OC\AppFramewo ... "], ["core.contactsMenu.index"])
  16. /var/www/html/lib/base.php line 1064
    OC\Route\Router->match("/contactsmenu/contacts")
  17. /var/www/html/index.php line 36
    OC::handleRequest()
</details>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions