question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'filter' of undefined

See original GitHub issue

Describe the bug I stupidly updated NC Bookmarks to 3.1.0 without checking how long it’s been out (~2 hours), and floccus immediately came up with this error in Brave (Chromium): Cannot read property 'filter' of undefined. Firefox (which uses another server folder) comes back with: this.children is undefined. I’ve tried removing the account, removing the local bookmarks and setting sync up again, but still having the same issue.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade to NC Bookmarks 3.1.0
  2. Either force sync or wait for floccus to sync, and it will come back with an error.

Expected behavior floccus syncs local changes to NC Bookmarks.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

  • OS: Windows Enterprise 1909
  • Browser: Brave (Chromium)
  • Browser Version:Version 1.9.76 Chromium: 81.0.4044.138 (Official Build) (64-bit)
  • Floccus version: 4.1.0
  • Floccus sync method: NextCloud Folders

Server (please complete the following information):

  • OS: Ubuntu 18.04.4 LTS
  • Nextcloud version: 18.0.4
  • Bookmarks app version: 3.1.0

Note: Please write down the actual version numbers instead of writing ‘latest’.

Debug log It is often useful to provide a debug log file along with the issue. You can obtain a debug log of the most recent sync runs by clicking ‘Debug log’ in the bottom right corner of the floccus panel in your browser.

Note: As your debug log usually contains large parts of your bookmark data, instead of attaching it publicly to the issue here, I recommend uploading it privately at the following URL https://klehranlage.net/index.php/s/7nn82NSBsfQKdsJ

  • Debug log provided File Name: GitHub_Issue-547_floccus-4.1.0-2020-06-03

Additional context I also use nextBookmark on iOS, and it is syncing correctly, just as a point of reference that NextCloud sync is still working.

Cheers, Josh

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
marcelklehrcommented, Jun 3, 2020

Yep. v3.1.1 is out already. Update the bookmarks app to get the fix 😃

2reactions
marcelklehrcommented, Jun 3, 2020

It’s a double bug. A bug in nextcloud bookmarks caused a bug in floccus 🙀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'filter' of undefined - Stack Overflow
Since the incoming data was null and the filter method was expecting data, thus, this caused the error. Here's a working implementation:
Read more >
Cannot read property 'filter' of undefined error #75 - GitHub
Describe the bug Error thrown "Cannot read property 'filter' of undefined" when installing and running. To Reproduce I'm using the following ...
Read more >
#13218 ("Uncaught TypeError: Cannot read property 'filter' of ...
I have strange behaviour with my custom widget that does not happen on other widgets.I thought it is from my plugin.js but it...
Read more >
Jammming TypeError: Cannot read property 'filter' of undefined
Hi everyone! I am on task 62/99 on the jammming project when I got this error: Code: (this is from App.js) import React...
Read more >
TypeError: Cannot read property 'filter' of undefined - Laracasts
TypeError : Cannot read property 'filter' of undefined. Copy Code return this.$store.state.orders.filter(m => m.paper_status === 'complete'); },.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found