You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar thing here on Docker fpm-15.0.5
$index->setOptions(json_decode($data['options'], true)); catches Null json_decode(NULL, true) in function parseIndexesSelectSql probably result of old sql (err log below)
occ fulltextsearch:stop
occ fulltextsearch:reset
fixed it
TypeError: json_decode() expects parameter 1 to be string, null given in /var/www/html/custom_apps/fulltextsearch/lib/Db/IndexesRequestBuilder.php:123
Stack trace:
#0 /var/www/html/custom_apps/fulltextsearch/lib/Db/IndexesRequestBuilder.php(123): json_decode(NULL, true)
#1 /var/www/html/custom_apps/fulltextsearch/lib/Db/IndexesRequest.php(327): OCA\FullTextSearch\Db\IndexesRequestBuilder->parseIndexesSelectSql(Array)
#2 /var/www/html/custom_apps/fulltextsearch/lib/Service/IndexService.php(276): OCA\FullTextSearch\Db\IndexesRequest->getIndexesFromProvider('files')
Do you know the error resolution?
please answer about my question.
OS ubntu 18.04-2 x64
PHP 7.2
NextCloud 1.5
Full text search 1.2.5
Search Platform:
Elasticsearch 1.2.4
{
"elastic_host": [
"http://127.0.0.1:9200"
],
"elastic_index": "nextcloud"
}
Content Providers:
Bookmarks 1.2.0
{
"bookmarks_ttl": "5"
}
Files 1.2.6
{
"files_local": "1",
"files_external": "2",
"files_group_folders": "1",
"files_encrypted": "0",
"files_federated": "0",
"files_size": "20",
"files_pdf": "1",
"files_office": "1",
"files_image": "0",
"files_audio": "0"
}
An unhandled exception has been thrown:
TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setMessage() must be of the type string, integer given, called in /var/www/nextcloud/apps/fulltextsearch/lib/Service/CliService.php on line 228 and defined in /var/www/nextcloud/apps/files_external_gdrive/vendor/symfony/console/Helper/ProgressBar.php:151
Stack trace:
#0 /var/www/nextcloud/apps/fulltextsearch/lib/Service/CliService.php(228): Symfony\Component\Console\Helper\ProgressBar->setMessage(0, 'errorCurrent')
#1 [internal function]: OCA\FullTextSearch\Service\CliService->onInfoUpdated(Array)
#2 /var/www/nextcloud/apps/fulltextsearch/lib/Model/Runner.php(306): call_user_func(Array, Array)
#3 /var/www/nextcloud/apps/fulltextsearch/lib/Model/Runner.php(223): OCA\FullTextSearch\Model\Runner->infoUpdated()
#4 /var/www/nextcloud/apps/fulltextsearch/lib/Command/Index.php(616): OCA\FullTextSearch\Model\Runner->setInfoArray(Array)
#5 /var/www/nextcloud/apps/fulltextsearch/lib/Command/Index.php(259): OCA\FullTextSearch\Command\Index->displayError()
#6 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\FullTextSearch\Command\Index->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/nextcloud/core/Command/Base.php(166): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/nextcloud/3rdparty/symfony/console/Application.php(946): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/nextcloud/3rdparty/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(OCA\FullTextSearch\Command\Index), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/nextcloud/console.php(96): OC\Console\Application->run()
#13 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
----------------------------------------------------------------------- end error message.
The text was updated successfully, but these errors were encountered: