Chih-Hsuan Yen f3aceb4648 Fix an error when disabling all user plugins
If I enabled some user plugins via Preferences -> Plugins and then
disabled all of them, an error occurred:

Jul 16 22:34:20 php[100]: PHP Fatal error:  Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /usr/share/webapps/tt-rss/classes/pref/prefs.php:1027
Jul 16 22:34:20 php[100]: Stack trace:
Jul 16 22:34:20 php[100]: #0 /usr/share/webapps/tt-rss/classes/pref/prefs.php(1027): array_filter()
Jul 16 22:34:20 php[100]: #1 /usr/share/webapps/tt-rss/backend.php(136): Pref_Prefs->setplugins()
Jul 16 22:34:20 php[100]: #2 {main}
Jul 16 22:34:20 php[100]:   thrown in /usr/share/webapps/tt-rss/classes/pref/prefs.php on line 1027

Apparently the issue was elevated from a warning to an error in PHP 8.0
[1].

[1] https://php.watch/versions/8.0/internal-function-exceptions
2022-07-16 22:50:16 +08:00
2018-12-04 07:15:53 +03:00
2021-03-21 09:35:43 +03:00
2022-04-18 13:04:29 +03:00
2016-05-13 09:10:54 +03:00
2022-07-16 11:10:19 +03:00
2021-03-14 12:49:37 +03:00
2021-02-19 07:07:45 +03:00
2022-07-16 11:10:19 +03:00
2022-07-16 11:10:19 +03:00
2021-02-23 13:36:02 +03:00
2022-05-21 21:21:32 +03:00
2017-04-22 15:42:34 +03:00
2022-06-05 11:49:50 +03:00
2022-06-10 17:41:38 +03:00
2022-03-22 14:34:05 +03:00
2021-03-16 21:32:44 +03:00

Tiny Tiny RSS

Web-based news feed aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible.

http://tt-rss.org

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Copyright (c) 2005 Andrew Dolgov (unless explicitly stated otherwise).

Description
A free, flexible, open-source, web-based news feed (RSS/Atom/other) reader and aggregator. Public mirror (see https://community.tt-rss.org/t/the-end-of-tt-rss-org/7164)
Readme 128 MiB
Languages
PHP 46.3%
JavaScript 22%
CSS 17.4%
Less 9.2%
PLpgSQL 2.6%
Other 2.5%