[gogocarto] error when activate search in field error #13

Open
opened 3 years ago by mathieusarrasin · 2 comments

need: activate the search in field for example the detailed_activity field

tried in carte.laroue.org

to reproduce : personnalisation --> formulaire --> add text Area --> edit

image

in name field --> add detailed_activity
check search in field

then save

and the following error appear:
image

PS: in the gogocarto last version instance https://laroue.gogocarto.fr it's working

need: activate the search in field for example the detailed_activity field tried in carte.laroue.org to reproduce : personnalisation --> formulaire --> add text Area --> edit ![image](/attachments/827af175-d623-4cf2-b339-5cfca2f7703a) in name field --> add detailed_activity check search in field then save and the following error appear: ![image](/attachments/68c40b5e-fba2-4a6c-b6d8-400395565e19) PS: in the gogocarto last version instance https://laroue.gogocarto.fr it's working

Think this is linked to mongo db too

[2021-05-24 09:34:54] php.CRITICAL: Uncaught Exception: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] {"exception":"[object] (MongoConnectionException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php:85, MongoDB\\Driver\\Exception\\ConnectionTimeoutException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/mongodb/mongodb/src/functions.php:431, Doctrine\\MongoDB\\Exception\\ResultException(code: 4): Failed to send \"mapreduce\" command with database \"gogocarto\": Failed to read 4 bytes: socket error or timeout at /opt/apps/gogocarto/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php:1308)"} []
[2021-05-24 09:34:54] request.CRITICAL: Uncaught PHP Exception MongoConnectionException: "No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017']" at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php line 85 {"exception":"[object] (MongoConnectionException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php:85, MongoDB\\Driver\\Exception\\ConnectionTimeoutException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/mongodb/mongodb/src/functions.php:431, Doctrine\\MongoDB\\Exception\\ResultException(code: 4): Failed to send \"mapreduce\" command with database \"gogocarto\": Failed to read 4 bytes: socket error or timeout at /opt/apps/gogocarto/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php:1308)"} []
[2021-05-24 09:34:54] request.CRITICAL: Exception thrown when handling an exception (Twig\Error\SyntaxError: Unknown "hwi_oauth_login_url" function. at /opt/apps/gogocarto/templates/modals/loginModal.html.twig line 16) {"exception":"[object] (Twig\\Error\\SyntaxError(code: 0): Unknown \"hwi_oauth_login_url\" function. at /opt/apps/gogocarto/templates/modals/loginModal.html.twig:16)"} []
[2021-05-24 09:34:54] php.CRITICAL: Uncaught Exception: Unknown "hwi_oauth_login_url" function. {"exception":"[object] (Twig\\Error\\SyntaxError(code: 0): Unknown \"hwi_oauth_login_url\" function. at /opt/apps/gogocarto/templates/modals/loginModal.html.twig:16, MongoConnectionException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php:85, MongoDB\\Driver\\Exception\\ConnectionTimeoutException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/mongodb/mongodb/src/functions.php:431, Doctrine\\MongoDB\\Exception\\ResultException(code: 4): Failed to send \"mapreduce\" command with database \"gogocarto\": Failed to read 4 bytes: socket error or timeout at /opt/apps/gogocarto/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php:1308)"} []
[2021-05-24 09:37:38] request.INFO: Matched route "gogo_core_bundle_config_form_admin_classname_edit". {"route":"gogo_core_bundle_config_form_admin_classname_edit","route_parameters":{"_route":"gogo_core_bundle_config_form_admin_classname_edit","_controller":"App\\Controller\\Admin\\ConfigurationAdminController::editAction","_sonata_admin":"admin.form_config","_sonata_name":"gogo_core_bundle_config_form_admin_classname_edit","id":"1"},"request_uri":"https://carte.laroue.org/admin/gogo/core/configuration-form/1/edit?uniqid=s60ab73d76c9a2","method":"POST"} []
[2021-05-24 09:37:38] security.DEBUG: Read existing security token from the session. {"key":"_security_user","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "AUTOGENERATE_ALWAYS" and "AUTOGENERATE_NEVER" strategies for proxy generation are deprecated and will be dropped in doctrine/mongodb-odm 2.0. Please use "AUTOGENERATE_FILE_NOT_EXISTS" and "AUTOGENERATE_EVAL". {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"AUTOGENERATE_ALWAYS\" and \"AUTOGENERATE_NEVER\" strategies for proxy generation are deprecated and will be dropped in doctrine/mongodb-odm 2.0. Please use \"AUTOGENERATE_FILE_NOT_EXISTS\" and \"AUTOGENERATE_EVAL\". at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:258)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::setRetryConnect" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::setRetryConnect\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:732)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::setRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::setRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:756)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\DocumentRepository" class is deprecated and will be removed in doctrine/mongodb-odm 2.0. Use "Doctrine\ODM\MongoDB\Repository\DocumentRepository" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\DocumentRepository\" class is deprecated and will be removed in doctrine/mongodb-odm 2.0. Use \"Doctrine\\ODM\\MongoDB\\Repository\\DocumentRepository\" instead. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentRepository.php:12)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryConnect" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryConnect\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:720)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in \"Symfony\\Component\\Security\\Core\\Authentication\\Token\\AbstractToken::hasUserChanged()\" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\\Component\\Security\\Core\\User\\EquatableInterface to check if the user has been changed, at /opt/apps/gogocarto/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in \"Symfony\\Component\\Security\\Core\\Authentication\\Token\\AbstractToken::hasUserChanged()\" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\\Component\\Security\\Core\\User\\EquatableInterface to check if the user has been changed, at /opt/apps/gogocarto/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} []
[2021-05-24 09:37:38] security.DEBUG: User was reloaded from a user provider. {"provider":"FOS\\UserBundle\\Security\\EmailUserProvider","username":"admin"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: Passing an array of Security attributes to Symfony\Component\Security\Core\Authorization\AuthorizationChecker::isGranted() is deprecated since Symfony 4.4. Use multiple isGranted() calls or the expression language (e.g. "is_granted(...) or is_granted(...)") instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Passing an array of Security attributes to Symfony\\Component\\Security\\Core\\Authorization\\AuthorizationChecker::isGranted() is deprecated since Symfony 4.4. Use multiple isGranted() calls or the expression language (e.g. \"is_granted(...) or is_granted(...)\") instead. at /opt/apps/gogocarto/vendor/symfony/security-core/Authorization/AuthorizationChecker.php:59)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.validator.inline" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use "sonata.form.validator.inline" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.validator.inline\" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use \"sonata.form.validator.inline\" instead. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:9430)"} []
[2021-05-24 09:37:38] request.CRITICAL: Uncaught PHP Exception Exception: "Database name cannot be empty" at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoDB.php line 533 {"exception":"[object] (Exception(code: 0): Database name cannot be empty at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoDB.php:533)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.twig.extension.text" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.twig.extension.text\" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:9402)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.twig.status_extension" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use "sonata.twig.status_extension" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.twig.status_extension\" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use \"sonata.twig.status_extension\" instead. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:9416)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.model.adapter.chain" service is deprecated in favor of service "sonata.doctrine.model.adapter.chain" since 3.12.0 and will be removed in 4.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.model.adapter.chain\" service is deprecated in favor of service \"sonata.doctrine.model.adapter.chain\" since 3.12.0 and will be removed in 4.0. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:5382)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The Sonata\CoreBundle\Model\Adapter\AdapterChain class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\Doctrine\Adapter\AdapterChain instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The Sonata\\CoreBundle\\Model\\Adapter\\AdapterChain class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\\Doctrine\\Adapter\\AdapterChain instead. at /opt/apps/gogocarto/vendor/sonata-project/core-bundle/src/CoreBundle/Model/Adapter/AdapterChain.php:20)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} []
[2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} []
[2021-05-24 09:37:38] security.DEBUG: Stored the security token in the session. {"key":"_security_user"} []
Think this is linked to mongo db too ``` [2021-05-24 09:34:54] php.CRITICAL: Uncaught Exception: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] {"exception":"[object] (MongoConnectionException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php:85, MongoDB\\Driver\\Exception\\ConnectionTimeoutException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/mongodb/mongodb/src/functions.php:431, Doctrine\\MongoDB\\Exception\\ResultException(code: 4): Failed to send \"mapreduce\" command with database \"gogocarto\": Failed to read 4 bytes: socket error or timeout at /opt/apps/gogocarto/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php:1308)"} [] [2021-05-24 09:34:54] request.CRITICAL: Uncaught PHP Exception MongoConnectionException: "No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017']" at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php line 85 {"exception":"[object] (MongoConnectionException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php:85, MongoDB\\Driver\\Exception\\ConnectionTimeoutException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/mongodb/mongodb/src/functions.php:431, Doctrine\\MongoDB\\Exception\\ResultException(code: 4): Failed to send \"mapreduce\" command with database \"gogocarto\": Failed to read 4 bytes: socket error or timeout at /opt/apps/gogocarto/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php:1308)"} [] [2021-05-24 09:34:54] request.CRITICAL: Exception thrown when handling an exception (Twig\Error\SyntaxError: Unknown "hwi_oauth_login_url" function. at /opt/apps/gogocarto/templates/modals/loginModal.html.twig line 16) {"exception":"[object] (Twig\\Error\\SyntaxError(code: 0): Unknown \"hwi_oauth_login_url\" function. at /opt/apps/gogocarto/templates/modals/loginModal.html.twig:16)"} [] [2021-05-24 09:34:54] php.CRITICAL: Uncaught Exception: Unknown "hwi_oauth_login_url" function. {"exception":"[object] (Twig\\Error\\SyntaxError(code: 0): Unknown \"hwi_oauth_login_url\" function. at /opt/apps/gogocarto/templates/modals/loginModal.html.twig:16, MongoConnectionException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php:85, MongoDB\\Driver\\Exception\\ConnectionTimeoutException(code: 13053): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'mongo:27017'] at /opt/apps/gogocarto/vendor/mongodb/mongodb/src/functions.php:431, Doctrine\\MongoDB\\Exception\\ResultException(code: 4): Failed to send \"mapreduce\" command with database \"gogocarto\": Failed to read 4 bytes: socket error or timeout at /opt/apps/gogocarto/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php:1308)"} [] [2021-05-24 09:37:38] request.INFO: Matched route "gogo_core_bundle_config_form_admin_classname_edit". {"route":"gogo_core_bundle_config_form_admin_classname_edit","route_parameters":{"_route":"gogo_core_bundle_config_form_admin_classname_edit","_controller":"App\\Controller\\Admin\\ConfigurationAdminController::editAction","_sonata_admin":"admin.form_config","_sonata_name":"gogo_core_bundle_config_form_admin_classname_edit","id":"1"},"request_uri":"https://carte.laroue.org/admin/gogo/core/configuration-form/1/edit?uniqid=s60ab73d76c9a2","method":"POST"} [] [2021-05-24 09:37:38] security.DEBUG: Read existing security token from the session. {"key":"_security_user","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "AUTOGENERATE_ALWAYS" and "AUTOGENERATE_NEVER" strategies for proxy generation are deprecated and will be dropped in doctrine/mongodb-odm 2.0. Please use "AUTOGENERATE_FILE_NOT_EXISTS" and "AUTOGENERATE_EVAL". {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"AUTOGENERATE_ALWAYS\" and \"AUTOGENERATE_NEVER\" strategies for proxy generation are deprecated and will be dropped in doctrine/mongodb-odm 2.0. Please use \"AUTOGENERATE_FILE_NOT_EXISTS\" and \"AUTOGENERATE_EVAL\". at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:258)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::setRetryConnect" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::setRetryConnect\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:732)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::setRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::setRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:756)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\DocumentRepository" class is deprecated and will be removed in doctrine/mongodb-odm 2.0. Use "Doctrine\ODM\MongoDB\Repository\DocumentRepository" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\DocumentRepository\" class is deprecated and will be removed in doctrine/mongodb-odm 2.0. Use \"Doctrine\\ODM\\MongoDB\\Repository\\DocumentRepository\" instead. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentRepository.php:12)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryConnect" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryConnect\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:720)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in \"Symfony\\Component\\Security\\Core\\Authentication\\Token\\AbstractToken::hasUserChanged()\" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\\Component\\Security\\Core\\User\\EquatableInterface to check if the user has been changed, at /opt/apps/gogocarto/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: Checking for the AdvancedUserInterface in "Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasUserChanged()" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\Component\Security\Core\User\EquatableInterface to check if the user has been changed, {"exception":"[object] (ErrorException(code: 0): User Deprecated: Checking for the AdvancedUserInterface in \"Symfony\\Component\\Security\\Core\\Authentication\\Token\\AbstractToken::hasUserChanged()\" is deprecated since Symfony 4.1 and support for it will be removed in 5.0. Implement the Symfony\\Component\\Security\\Core\\User\\EquatableInterface to check if the user has been changed, at /opt/apps/gogocarto/vendor/symfony/security-core/Authentication/Token/AbstractToken.php:335)"} [] [2021-05-24 09:37:38] security.DEBUG: User was reloaded from a user provider. {"provider":"FOS\\UserBundle\\Security\\EmailUserProvider","username":"admin"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: Passing an array of Security attributes to Symfony\Component\Security\Core\Authorization\AuthorizationChecker::isGranted() is deprecated since Symfony 4.4. Use multiple isGranted() calls or the expression language (e.g. "is_granted(...) or is_granted(...)") instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Passing an array of Security attributes to Symfony\\Component\\Security\\Core\\Authorization\\AuthorizationChecker::isGranted() is deprecated since Symfony 4.4. Use multiple isGranted() calls or the expression language (e.g. \"is_granted(...) or is_granted(...)\") instead. at /opt/apps/gogocarto/vendor/symfony/security-core/Authorization/AuthorizationChecker.php:59)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.validator.inline" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use "sonata.form.validator.inline" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.validator.inline\" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use \"sonata.form.validator.inline\" instead. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:9430)"} [] [2021-05-24 09:37:38] request.CRITICAL: Uncaught PHP Exception Exception: "Database name cannot be empty" at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoDB.php line 533 {"exception":"[object] (Exception(code: 0): Database name cannot be empty at /opt/apps/gogocarto/vendor/alcaeus/mongo-php-adapter/lib/Mongo/MongoDB.php:533)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.twig.extension.text" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.twig.extension.text\" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:9402)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.twig.status_extension" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use "sonata.twig.status_extension" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.twig.status_extension\" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0. Use \"sonata.twig.status_extension\" instead. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:9416)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "sonata.core.model.adapter.chain" service is deprecated in favor of service "sonata.doctrine.model.adapter.chain" since 3.12.0 and will be removed in 4.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sonata.core.model.adapter.chain\" service is deprecated in favor of service \"sonata.doctrine.model.adapter.chain\" since 3.12.0 and will be removed in 4.0. at /opt/apps/gogocarto/var/cache/prod/Container89Ge8l9/srcApp_KernelProdContainer.php:5382)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The Sonata\CoreBundle\Model\Adapter\AdapterChain class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\Doctrine\Adapter\AdapterChain instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The Sonata\\CoreBundle\\Model\\Adapter\\AdapterChain class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\\Doctrine\\Adapter\\AdapterChain instead. at /opt/apps/gogocarto/vendor/sonata-project/core-bundle/src/CoreBundle/Model/Adapter/AdapterChain.php:20)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getRetryQuery" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getRetryQuery\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:744)"} [] [2021-05-24 09:37:38] php.INFO: User Deprecated: The "Doctrine\ODM\MongoDB\Configuration::getLoggerCallable" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Doctrine\\ODM\\MongoDB\\Configuration::getLoggerCallable\" method is deprecated and will be removed in doctrine/mongodb-odm 2.0. at /opt/apps/gogocarto/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Configuration.php:672)"} [] [2021-05-24 09:37:38] security.DEBUG: Stored the security token in the session. {"key":"_security_user"} [] ```

Not sure it's linked to the mongodb problem because this problem is solved but the error when checking the "search in a field" box is still here.
image

Not sure it's linked to the mongodb problem because this problem is solved but the error when checking the "search in a field" box is still here. ![image](/attachments/ef81dce8-44b4-4e3c-a21b-bb42818a46f3)
3.1 KiB
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.