Account created on 15 May 2010, almost 15 years ago
#

Merge Requests

Recent comments

🇨🇦Canada netgeek123

Is there any intent on updating this to work with drupal 11?

🇨🇦Canada netgeek123

The problem is this module WILL get your domain/ip on RBL lists and your services will be blocked globally. I believe this is a serious issue.

Anyone else?

🇨🇦Canada netgeek123

I guess no one is interested in this issue?

🇨🇦Canada netgeek123

Is anyone going to fork this and bring it up to drupal 11? :)

🇨🇦Canada netgeek123

This is STILL an issue. I have updated from 10.4 to 11.1 as recomended and upgrade status gave the green light. Now, those whole this is throwing random errors to do with \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.....

As I was googling I noticed this has been an issue when updating for a very very very very very long time. Though, the first time I have run into this issue. So, I am at a loss. I have disabled all the themes and modules to the bare core and stable them. It still throws errors, There must be a way to fix this?

🇨🇦Canada netgeek123

I ran into this issue just today when I updated from 10.4 to 11.1 as recommend. The Upgrade Status module gave the green light to update. Now, drush commands will not work. Tried all the usual things, clearing cache's etc.

I thought things were suppossed to become easier when updating Drupal? Now, there are several different roads to take, update to this version to get to that version that might work, even if a core supported module tells you it is good to go, it probably isn't , claims in documentation on how easy it is etc...

Well, it isn't easy what so ever. It is actually becoming increasingly diffcult to deal with. It is all fine when you're tinkering around. But, whe you have clients paying for this stuff it makes the developer look like an idiot. Not fun.

If things become worse I might just start recommending WIX!! haha!

drush updb -y

In Drupal.php line 169:

\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.

[townscanada@rockstar www]$ drush sqlq "TRUNCATE cache_config; TRUNCATE cache_container; TRUNCATE cache_data; TRUNCATE cache_default; TRUNCATE cache_discovery; TRUNCATE cache_dynamic_page_cache; TRUNCATE cache_entity; TRUNCATE cache_menu; TRUNCATE cache_render;"

[townscanada@rockstar www]$ drush cr

In Drupal.php line 169:

\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.

🇨🇦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