Classes/pref/feeds.php:439 Undefined array key "items"

Using the demo, this error occurs:

E_WARNING (2) classes/pref/feeds.php:439 Undefined array key “items”

  1. classes/pref/feeds.php(439): ttrss_error_handler(Undefined array key “items”, classes/pref/feeds.php)
  2. backend.php(136): savefeedorder()

You can reproduce it by:

  1. Go to Preferences from the main drop down menu.
  2. Click on the Feeds tab.
  3. Drag a feed from Uncategorized to Comics.
  4. Click on the System tab.

Seems to be mostly cosmetic. The feed is transfered to the new Category.

Looks like the demo site is on a commit from April. That issue should be fixed as of f56a049641 (i.e. 2022-10-15 or newer).

yeah looks like the demo got stuck, i’ll check it out.

i’m screwing around with the demo and i found that tt-rss doesn’t support X-Forwarded-Proto properly in case of nested proxies when it becomes a comma-separated list which may look like this:

[HTTP_X_FORWARDED_PROTO] => https, http

we should probably do the same as here X_FORWARDED_PROTO with multiple proxy steps not supported · Issue #13451 · yiisoft/yii2 · GitHub and consider first value in case if its a comma-separated list, the reasoning there seems solid.