jsweetack, you can install drush following the steps in https://drupalize.me/tutorial/install-drush-using-composer.
Summary:
* Go to the root directory of your project and install drush using
composer require --dev drush/drush
* Check if drush is installed correctly:
./vendor/bin/drush --version
Now you can use 'drush entity-updates'.
I have done the more crafty work you suggested. The token field is now updated and the error has disappeared. Thank you, maestro _randy!
If anyone else comes across the same issue, this is what I did in detail.
- Made a copy of the code and database.
- (in phpMyAdmin) Copied the maestro_queue table to a new temporary table:
CREATE TABLE maestro_queue_copy AS SELECT * FROM maestro_queue
- (in phpMyAdmin) Set the maestro_queue table token column to blank/null:
UPDATE maestro_queue<br />
SET token=NULL
- (on the command line) Updated the entity:
drush entity-updates
- (in phpMyAdmin) Copied the tokens from the copied temporary queue table token column to the maestro_queue token column:
UPDATE maestro_queue AS m1<br />
INNER JOIN maestro_queue_copy AS m2 ON m1.id = m2.id<br />
SET m1.token = m2.token
- (in phpMyAdmin) Deleted the temporary queue table
DROP TABLE maestro_queue_copy
Thanks! I will try this tomorrow.
Thanks _randy, for your help!
After reading your comment, I double checked the token column. It appears that they are not all empty.
Any idea on what I can do in that case?
I have installed the MySQL module as you suggested and the systems works!
larowlan, thank you so much!
I misinterpreted the info-page of project mysql56. That's why I thought the MySQL module was not necessary.
For those who experience the same issue: I had to keep the code from TransactionManager.php in Connection.php while installing the MySQL module. Only after the installation I could remove the code.
No larowlan, the MySQL module is not enabled. It seems that this is correct, since for MariaDB the module is only needed when the MariaDB version is lower than MariaDB 10.3.7. I have 10.4.27 installed.