Account created on 15 May 2010, over 14 years ago
#

Merge Requests

Recent comments

🇨🇦Canada netgeek123

@goodboy

What if you could have a whitelist that you can put Pathauto tokens into. Then all other URL's that do not exist would be subject to penalty?

Unless that is what you're saying. ha!

🇨🇦Canada netgeek123

Ran;

composer why guzzlehttp/guzzle
donutdan4114/shopify            2020.01.2 requires guzzlehttp/guzzle (~6.0)             
drupal/core                     9.5.11    requires guzzlehttp/guzzle (^6.5.8 || ^7.4.5) 
drupal/core-recommended         9.5.11    requires guzzlehttp/guzzle (~6.5.8)           
drush/drush                     11.6.0    requires guzzlehttp/guzzle (^6.5 || ^7.0)     
enlightn/security-checker       v1.11.0   requires guzzlehttp/guzzle (^6.3|^7.0)        
php-http/guzzle6-adapter        v2.0.2    requires guzzlehttp/guzzle (^6.0)             
sainsburys/guzzle-oauth2-plugin v3.0.7    requires guzzlehttp/guzzle (^6.0|^7.0)

Simply changing the composer.json php-http/guzzle6-adapter v2.0.2 requires guzzlehttp/guzzle (^6.0) to requires guzzlehttp/guzzle (^6.5.8 || ^7.4.5) should work?

🇨🇦Canada netgeek123

This is still and issue for Drupal when updating 10.*

I am not sure where to apply patch #11.

I am not sure why this is still an issue. Since Drupal 7?

🇨🇦Canada netgeek123

I used composer and drush. Error come up on both.

🇨🇦Canada netgeek123

using drush en bat_api

drush en bat_api
The following module(s) will be enabled: bat_api, bat_event

 Do you want to continue? (yes/no) [yes]:
 > yes

  
In Container.php line 157:
                                                                               
  You have requested a non-existent service "bat_fullcalendar.fixed_state_eve  
  nt_formatter". 

Full calendar is installed.

🇨🇦Canada netgeek123

Some reason bat_event was stuck at version 1.3 in the lock file. I used composer remove to remove all the modules and reinstall.

🇨🇦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.
🇨🇦Canada netgeek123

Still an issue.

Item is not showing and there is no order item id to use as a contextual filter so #5 does not work.

Version 8.+

🇨🇦Canada netgeek123

This is still an issue that should be addresses by now.

🇨🇦Canada netgeek123

Has anyone actually cleared this up?

Working with version 8.+ and this is still a problem?

Has anyone gotten flag to work with TWIG template?

🇨🇦Canada netgeek123

Drush 11.+

 

drush help upe
Apply pending entity schema updates.

Examples:
 drush upe --show                     Show entities to update                 
 drush upe --basic                    Update entities.Run this command if all 
                                      entities to update are empty. Else      
                                      Exception                               
 drush upe --all                      Update entities with data. Run this     
                                      command if any entity (to update) has   
                                      data                                    
 drush upe --basic --nobackup         Update all without automatic database   
                                      backup                                  
 drush upe --basic --force --nobackup Try to update using basic method even   
                                      having data                             
 drush upe --all --nobackup           Update all without automatic database   
                                      backup (Not recommended)                
 drush upe --clean                    Cleanup entity backup database          
 drush upe --bkpdel                   Copy entities to update in to backup    
                                      database and delete entities            
 drush upe --rescue                   If entity recreation failed, You can    
                                      you this option to create entities from 
                                      entity backup database                  
 drush upe ENTITY_TYPE_ID --nobackup  Update entity type ENTITY_TYPE_ID       

Arguments:
 [type] The entity type ID to update. 

Options:
 --basic               Update all entities as basic way                       
 --all                 Update all Entities                                    
 --bkpdel              Copy entities to update in to backup database and      
                       delete entities                                        
 --show                Show entities to update                                
 --clean               Cleanup entity backup database                         
 --rescue              Create entities from entity backup database            
 --cache-clear         Set to 0 to suppress normal cache clearing; the caller 
                       should then clear if needed.                           
 --nobackup[=NOBACKUP] Disable automatic full database backup (Not            
                       recommended) [default: true]                           
 --force               Try force update                                       
 --no-nobackup         Negate --nobackup option.                              

Global options:
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 
                     2 for more verbose output and 3 for debug                
-y, --yes            Auto-accept the default for all user prompts. Equivalent 
                     to --no-interaction.                                     
-l, --uri=URI        A base URL for building links and selecting a            
                     multi-site. Defaults to https://default.                 
                     To see all global options, run `drush topic` and pick    
                     the first choice.                                        

Aliases: upe

Example; drush upe --all --force

🇨🇦Canada netgeek123

This does not work with Drupal 9.5+

Production build 0.71.5 2024