Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing redefinition of logger variable #126

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

nchiasson-dgi
Copy link
Contributor

This PR corrects an error related to redefining a variable that is already being created as part of the parent class:

PHP Fatal error:  Type of Drupal\dgi_migrate_regenerate_pathauto_aliases\Commands\Pathauto::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /opt/www/drupal/web/modules/contrib/dgi_migrate/modules/dgi_migrate_regenerate_pathauto_aliases/src/Commands/Pathauto.php on line 17
 [warning] Drush command terminated abnormally.

@nchiasson-dgi nchiasson-dgi added the patch Backwards compatible bug fixes. label Feb 12, 2024
@nchiasson-dgi nchiasson-dgi merged commit e63765d into main Feb 13, 2024
1 check passed
@nchiasson-dgi nchiasson-dgi deleted the removing-redefinition branch February 13, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Backwards compatible bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants