-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
Bug (confirmed) 🐞issues that are reproducibleissues that are reproducible
Milestone
Description
Describe the bug
When trying to create a user using create-user.php on a fresh new and empty FreshRSS instance, if I use the option --no-default-feeds, I obtain the following error:
# docker exec --user www-data freshrss cli/create-user.php --user admin --password admin --no-default-feeds
PHP Fatal error: Uncaught TypeError: Cannot assign string to property CliOptionsParser@anonymous::$noDefaultFeeds of type bool in /var/www/FreshRSS/cli/CliOptionsParser.php:107
Stack trace:
#0 /var/www/FreshRSS/cli/CliOptionsParser.php(22): CliOptionsParser->appendTypedValidValues()
#1 /var/www/FreshRSS/cli/create-user.php(51): CliOptionsParser->__construct()
#2 /var/www/FreshRSS/cli/create-user.php(6): CliOptionsParser@anonymous->__construct()
#3 {main}
thrown in /var/www/FreshRSS/cli/CliOptionsParser.php on line 107
Using Docker image docker.io/freshrss/freshrss:1.26.0.
To Reproduce
- Run
cli/create-user.php --user admin --password admin --no-default-feeds
Expected behavior
No error.
FreshRSS version
1.26.0
System information
- Database version: MariaDB 11.7
- PHP version: 8.2.26
- Installation type: Docker
- Web server type: Traefik
- Device: N/A
- OS: Debian 12
- Browser: N/A
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug (confirmed) 🐞issues that are reproducibleissues that are reproducible