[GH-ISSUE #508] Exception: Argument passed must be of the type string, null given #366

Closed
opened 2026-02-25 22:36:56 +03:00 by kerem · 4 comments
Owner

Originally created by @ghost on GitHub (Apr 30, 2020).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/508

Describe the bug
After updating Bookmarks to version 3.0 my Nextcloud log tells me that every Floccus sync produces this error:

Exception: Argument 2 passed to OCA\Bookmarks\Db\SharedFolderMapper::findByFolderAndUser() must be of the type string, null given, called in bookmarks/lib/Service/HashManager.php on line 136

Since the error didn't occur with Bookmarks v2.3.4 I thought at first the error has to be caused by the NC Bookmarks app.
BUT the iOS App nextBookmark produces no such errors.
If I'm wrong and the problem is exclusively caused by the new version of Bookmarks please let me know.

To Reproduce
Just update the NC bookmarks app to v3.0 final and sync your Firefox using Floccus.

Expected behavior
No error log entries.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Firefox 75.0
  • Floccus version: 4.1.0
  • Floccus sync method: Nextcloud Bookmarks (the first one)
    Path prefix for server folder was and is empty.

Server (please complete the following information):

  • Nextcloud version: 18.0.4
  • Bookmarks app version: 3.0 final
Originally created by @ghost on GitHub (Apr 30, 2020). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/508 **Describe the bug** After updating Bookmarks to version 3.0 my Nextcloud log tells me that every Floccus sync produces this error: `Exception: Argument 2 passed to OCA\Bookmarks\Db\SharedFolderMapper::findByFolderAndUser() must be of the type string, null given, called in bookmarks/lib/Service/HashManager.php on line 136` Since the error didn't occur with Bookmarks v2.3.4 I thought at first the error has to be caused by the NC Bookmarks app. BUT the iOS App _nextBookmark_ produces no such errors. If I'm wrong and the problem is exclusively caused by the new version of Bookmarks please let me know. **To Reproduce** Just update the NC bookmarks app to v3.0 final and sync your Firefox using Floccus. **Expected behavior** No error log entries. **Desktop (please complete the following information):** - OS: macOS - Browser: Firefox 75.0 - Floccus version: 4.1.0 - Floccus sync method: Nextcloud Bookmarks (the first one) Path prefix for server folder was and is empty. **Server (please complete the following information):** - Nextcloud version: 18.0.4 - Bookmarks app version: 3.0 final
kerem 2026-02-25 22:36:56 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (Apr 30, 2020):

It is indeed a bookmarks app bug. I will release a fix shortly.

<!-- gh-comment-id:622044430 --> @marcelklehr commented on GitHub (Apr 30, 2020): It is indeed a bookmarks app bug. I will release a fix shortly.
Author
Owner

@marcelklehr commented on GitHub (Apr 30, 2020):

You can update the bookmarks app now :)

<!-- gh-comment-id:622058764 --> @marcelklehr commented on GitHub (Apr 30, 2020): You can update the bookmarks app now :)
Author
Owner

@ghost commented on GitHub (Apr 30, 2020):

Thanks, I did. There's a new error message now using v3.0.2:

Exception: Call to undefined method OCA\Bookmarks\Service\Authorizer::userId()

details in my comment here

<!-- gh-comment-id:622125947 --> @ghost commented on GitHub (Apr 30, 2020): Thanks, I did. There's a new error message now using v3.0.2: > Exception: Call to undefined method OCA\Bookmarks\Service\Authorizer::userId() details in my comment [here](https://github.com/nextcloud/bookmarks/issues/994)
Author
Owner

@github-actions[bot] commented on GitHub (Mar 21, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1477256928 --> @github-actions[bot] commented on GitHub (Mar 21, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#366
No description provided.