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

Mautic 4: When applying a migration at CLI there is an error from ConsoleErrorListener #9848

Closed
RCheesley opened this issue Mar 28, 2021 · 0 comments · Fixed by #9850
Closed
Assignees
Labels
bug Issues or PR's relating to bugs mautic-4 Relates to Mautic 4.x
Milestone

Comments

@RCheesley
Copy link
Sponsor Member

Bug Description

While testing a PR I had to apply a migration which threw an error:

ruth.cheesley@MacBookPro-RuthCheesley mautic % ddev exec bin/console migrations:execute --up 20200810153131

In ConsoleErrorListener.php line 46:
                                               
  Call to a member function getName() on null  
                                               

ERROR: 255
Failed to execute command bin/console migrations:execute --up 20200810153131: exit status 255
Q A
Mautic version 4.0.-alpha1
PHP version 7.4
Browser Chrome

Steps to reproduce

  1. Try to apply a migration at command line with migrations:execute --up VERSION
  2. Notice the error
@RCheesley RCheesley added needs-triage For new issues/PRs that need to be triaged bug Issues or PR's relating to bugs mautic-4 Relates to Mautic 4.x and removed needs-triage For new issues/PRs that need to be triaged labels Mar 28, 2021
@RCheesley RCheesley added this to the Mautic 4.0 milestone Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs mautic-4 Relates to Mautic 4.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants