Hi,
I get an error when setting up full text search on my new Nextcloud:
Argument #2 ($value) must be of type bool, int given, called in /var/www/html/custom_apps/fulltextsearch/lib/Service/ConfigService.php on line 39 in file '/var/www/html/lib/private/AppFramework/Services/AppConfig.php' line 192"
|
$this->appConfig->setAppValueBool($k, $save[$k]); |
Adding a type cast solved the problem for me:
$this->appConfig->setAppValueBool($k, (bool)$save[$k]);
Setup in which the problem occurred:
- Nextcloud version 34.0.2
- fulltextsearch version 34.0.1
- files_fulltextsearch version 34.0.1
- fulltextsearch_elasticsearch version 34.0.1
I used the Nextcloud docker container which runs on PHP version 8.5.9
Hi,
I get an error when setting up full text search on my new Nextcloud:
Argument #2 ($value) must be of type bool, int given, called in /var/www/html/custom_apps/fulltextsearch/lib/Service/ConfigService.php on line 39 in file '/var/www/html/lib/private/AppFramework/Services/AppConfig.php' line 192"
fulltextsearch/lib/Service/ConfigService.php
Line 39 in 5269e8b
Adding a type cast solved the problem for me:
$this->appConfig->setAppValueBool($k, (bool)$save[$k]);Setup in which the problem occurred:
I used the Nextcloud docker container which runs on PHP version 8.5.9