- Issue created by @camslice
Running a database update with latest Drush v12.4.3 throws the following error:
[warning] Undefined variable $filename UpdateDBCommands.php:305
[warning] Post update function linktitle_post_update_warning not found in file .php
[error] Update failed: linktitle_post_update_warning
drush updb
Rename linktitle.install
to linktite.post_update.php
Renaming the file seems to allow the post update to run properly, however I did notice that $filename
is indeed undefined in the Drush package:
vendor/drush/drush/src/Commands/core/UpdateDBCommands.php:305
I will submit a bug report on the Drush project too.
Active
Code