Hello. I’m upgrading a site from Drupal 10 to 11. Post-upgrade, the remote site loads correctly in the browser, but drush sql:* commands fail. For example, drush sql:query "SHOW VARIABLES LIKE 'wait_timeout';"` returns the following:
Error: Call to a member function command() on null in Drush\Commands\sql\SqlCommands->validate() (line 244 of vendor/drush/drush/src/Commands/sql/SqlCommands.php).
It seems that finally the time has come that I will have to start using Composer to manage my hosted websites. I used to update modules through FileZilla (downloading, unpacking and uploading to the correct module folder). But now it appear that updating the Token module in that way causes errors. Of course I have a backup that I can restore, so that is not the problem. But updating this module (and maybe more in the [near] future) fails in this manner. Therefore: move to Composer. And there I have a few practical questions.
ok so I'm just getting back into Drupal since working with D7 (and previous versions) many years ago and I'm loving some of the new additions and ways of doing things. I have been looking at ECA and am currently trying to establish a way to create some dynamic date fields... so this is the setup: