Not using Docker, but v21.02-26a6177bc from GIT repos.
Could not test in the demo because of that issue.
Issue:
refreshing the special “Published Article feed” give a 500 error, and display that on the log:
Uncaught TypeError: Argument 2 passed to Prefs::get() must be of the type int, null given, called in /web/tt-rss/include/functions.php on line 46 and defined in /web/tt-rss/classes/prefs.php:229
Stack trace:
#0 /web/tt-rss/include/functions.php(46): Prefs::get('HEADLINES_NO_DI...', NULL, NULL)
#1 /web/tt-rss/classes/feeds.php(1625): get_pref('HEADLINES_NO_DI...')
#2 /web/tt-rss/classes/handler/public.php(58): Feeds::_get_headlines(Array)
#3 /web/tt-rss/classes/handler/public.php(329): Handler_Public->generate_syndicated_feed('2', '-2', false, 60, 0, '', '', 'atom', '', false, 0)
#4 /web/tt-rss/public.php(49): Handler_Public->rss()
#5 {main}
thrown
Real IP: <edited>
Forwarded Protocol: https
Remote IP: <edited>
Request URI: /public.php?op=rss&id=-2&key=<edited>
User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
I’ll try to look forward to see the problem.
I don’t see it before, but there is a notice displayed in the log before the error :
Undefined index: uid
1. include/functions.php(46): ttrss_error_handler(8, Undefined index: uid, include/functions.php, 46, [{"pref_name":"HEADLINES_NO_DISTINCT","owner_uid":null})
2. classes/feeds.php(1625): get_pref(HEADLINES_NO_DISTINCT)
3. classes/handler/public.php(58): _get_headlines([{"owner_uid":"2","feed":"-2","limit":60,"view_mode":"","cat_view":"0","search":"","override_order":"last_published DESC","include_children":true,"ignore_vfeed_group":true,"offset":0,"start_ts":0})
4. classes/handler/public.php(329): generate_syndicated_feed(2, -2, 0, 60, 0, , , atom, , , 0)
5. public.php(49): rss()
Real IP: <redacted>
Forwarded Protocol: https
Remote IP: <redacted>
Request URI: /public.php?op=rss&id=-2&key=<redacted>
User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
fox
3
Oh my god, you are so fast.
Thanks alot
