- Issue created by @netgeek123
- 🇨🇦Canada netgeek123
More errors. on drush pm:uninstall flag_rating
drush pm:uninstall flag_rating [warning] Undefined array key "uuid" DefaultTableMapping.php:332 [error] TypeError: Drupal\Core\Entity\Sql\DefaultTableMapping::requiresDedicatedTableStorage(): Argument #1 ($storage_definition) must be of type Drupal\Core\Field\FieldStorageDefinitionInterface, null given, called in /home/dir/public_html/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php on line 332 in Drupal\Core\Entity\Sql\DefaultTableMapping->requiresDedicatedTableStorage() (line 522 of /home/dir/public_html/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php) #0 /home/dir/public_html/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php(332): Drupal\Core\Entity\Sql\DefaultTableMapping->requiresDedicatedTableStorage(NULL) #1 /home/dir/public_html/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php(468): Drupal\Core\Entity\Sql\DefaultTableMapping->getAllColumns('flagging') #2 /home/dir/public_html/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php(217): Drupal\Core\Entity\Query\Sql\Tables->getTableMapping('flagging', 'flagging') #3 /home/dir/public_html/core/lib/Drupal/Core/Entity/Query/Sql/Condition.php(58): Drupal\Core\Entity\Query\Sql\Tables->addField('entity_type', 'INNER', NULL) #4 /home/dir/public_html/core/lib/Drupal/Core/Entity/Query/Sql/Query.php(177): Drupal\Core\Entity\Query\Sql\Condition->compile(Object(Drupal\mysql\Driver\Database\mysql\Select)) #5 /home/dir/public_html/core/lib/Drupal/Core/Entity/Query/Sql/Query.php(81): Drupal\Core\Entity\Query\Sql\Query->compile() #6 /home/dir/public_html/modules/contrib/flag/src/FlagService.php(372): Drupal\Core\Entity\Query\Sql\Query->execute() #7 /home/dir/public_html/modules/contrib/flag/flag.module(527): Drupal\flag\FlagService->unflagAllByEntity(Object(Drupal\system\Entity\Action)) #8 [internal function]: flag_entity_predelete(Object(Drupal\system\Entity\Action), 'action') #9 /home/dir/public_html/core/lib/Drupal/Core/Extension/ModuleHandler.php(426): call_user_func_array(Object(Closure), Array) #10 /home/dir/public_html/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object(Closure), 'flag') #11 /home/dir/public_html/core/lib/Drupal/Core/Extension/ModuleHandler.php(433): Drupal\Core\Extension\ModuleHandler->invokeAllWith('entity_predelet...', Object(Closure)) #12 /home/dir/public_html/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(339): Drupal\Core\Extension\ModuleHandler->invokeAll('entity_predelet...', Array) #13 /home/dir/public_html/core/lib/Drupal/Core/Entity/EntityStorageBase.php(486): Drupal\Core\Config\Entity\ConfigEntityStorage->invokeHook('predelete', Object(Drupal\system\Entity\Action)) #14 /home/dir/public_html/core/lib/Drupal/Core/Entity/EntityBase.php(347): Drupal\Core\Entity\EntityStorageBase->delete(Array) #15 /home/dir/public_html/core/lib/Drupal/Core/Config/ConfigManager.php(214): Drupal\Core\Entity\EntityBase->delete() #16 /home/dir/public_html/core/lib/Drupal/Core/Extension/ModuleInstaller.php(470): Drupal\Core\Config\ConfigManager->uninstall('module', 'flag_rating') #17 /home/dir/public_html/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(91): Drupal\Core\Extension\ModuleInstaller->uninstall(Array, true) #18 /home/dir/public_html/vendor/drush/drush/src/Drupal/Commands/pm/PmCommands.php(195): Drupal\Core\ProxyClass\Extension\ModuleInstaller->uninstall(Array, true) #19 [internal function]: Drush\Drupal\Commands\pm\PmCommands->uninstall(Array, Array) #20 /home/dir/public_html/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array(Array, Array) #21 /home/dir/public_html/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData)) #22 /home/dir/public_html/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData)) #23 /home/dir/public_html/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(391): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData)) #24 /home/dir/public_html/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #25 /home/dir/public_html/vendor/symfony/console/Application.php(1039): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #26 /home/dir/public_html/vendor/symfony/console/Application.php(275): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #27 /home/dir/public_html/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #28 /home/dir/public_html/vendor/drush/drush/src/Runtime/Runtime.php(124): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #29 /home/dir/public_html/vendor/drush/drush/src/Runtime/Runtime.php(51): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput)) #30 /home/dir/public_html/vendor/drush/drush/drush.php(79): Drush\Runtime\Runtime->run(Array) #31 /home/dir/public_html/vendor/drush/drush/drush(4): require('/home/townscana...') #32 {main}. TypeError: Drupal\Core\Entity\Sql\DefaultTableMapping::requiresDedicatedTableStorage(): Argument #1 ($storage_definition) must be of type Drupal\Core\Field\FieldStorageDefinitionInterface, null given, called in /home/dir/public_html/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php on line 332 in Drupal\Core\Entity\Sql\DefaultTableMapping->requiresDedicatedTableStorage() (line 522 of /home/dir/public_html/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php). [warning] Drush command terminated abnormally.
- Status changed to Closed: cannot reproduce
7 months ago 8:51am 9 April 2024