"Unhandled exception" when editing feed after adding it

Describe the problem you’re having:
When adding a feed (in Firefox, tt-rss set as default for RSS feeds), the feed is added successfully. When I click “Edit feed preferences” afterwards, I receive a “Unhandled Exception” error

Error: declare fox.PrefFilterTree: unknown base class. Did you use dojo.require to pull it in?
Stack trace:
err@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:39326
_1b4@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:45285
@https://www.mydomain.com:8001/js/PrefFilterTree.js?1494412068445:24:9
_ce@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:11945
_37@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:27097
_81/<@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:13833
_38@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:13659
_81@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:13758
_f6@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:15537
_10b@https://www.mydomain.com:8001/lib/dojo/dojo.js?1485159996:8:18464
After hitting refresh (or F5), the preferences dialogue for the newly added feed is displayed correctly.

If possible include steps to reproduce the problem:
Add feed, edit it.

tt-rss version (including git commit id):
Tiny Tiny RSS v17.4 (6c34ef6)

Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Ubuntu 17.04, PHP7, PostgreSQL

Error: declare fox.PrefFilterTree: unknown base class. Did you use dojo.require to pull it in?

something prevents js class to load properly, usually it’s a browser/client problem

check browser error console (f12), try a different browser, clean profile

e: is this specific to that firefox integration dialog thing? if so then this could be a legit bug, it’s been years since i used that (or firefox lol)

The browser error console displays the error above as well as:

{“error”:{“code”:6,“message”:“Request not authorized.”}} prefs.php:111:348

Use of getAttributeNode() is deprecated. Use getAttribute() instead. dojo.js:8:93772

{“error”:{“code”:6,“message”:“Request not authorized.”}} prefs.php:111:348

i’m afraid i can’t reproduce this. like i said, try with other browsers / clean profile.

Commit move add_feed_url() to pref_feeds did the trick! I have not received an error since, tried with different feeds.
Many thanks.