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

migrate:refresh ArgumentCountError #1682

Closed
byazrail opened this issue Jan 22, 2019 · 0 comments
Closed

migrate:refresh ArgumentCountError #1682

byazrail opened this issue Jan 22, 2019 · 0 comments

Comments

@byazrail
Copy link
Contributor


name: Bug report
about: Help us improve the framework by reporting bugs!


Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our
forum.

Describe the bug
A clear and concise description of what the bug is.

CodeIgniter 4 version
Which version (and branch, if applicable) the bug is in.

Affected module(s)
Which package or class is the bug in, if known.

Expected behavior, and steps to reproduce if appropriate
A clear and concise description of what you expected to happen,
and how you got there.
Feel free to include a text/log extract, but use a pastebin facility for any
screenshots you deem necessary.

Context

  • OS: [e.g. Windows 99]
  • Web server [e.g. Apache 1.2.3]
  • PHP version [e.g. 6.5.4]

Alis-MacBook-Pro:jupiter byazrail$ php spark migrate:refresh -all

CodeIgniter CLI Tool - Version 4.0.0-alpha.4 - Server-Time: 2019-01-22 14:21:25pm

Rolling back all migrations...
An uncaught Exception was encountered

Type: ArgumentCountError
Message: Too few arguments to function CodeIgniter\Commands\Database\MigrateRollback::isAllNamespace(), 0 passed in /Users/byazrail/Desktop/www/jupiter/core/Commands/Database/MigrateRollback.php on line 120 and exactly 1 expected
Filename: /Users/byazrail/Desktop/www/jupiter/core/Commands/Database/MigrateRollback.php
Line Number: 165

Backtrace:
	-120 - /Users/byazrail/Desktop/www/jupiter/core/Commands/Database/MigrateRollback.php::isAllNamespace
	-123 - /Users/byazrail/Desktop/www/jupiter/core/CLI/CommandRunner.php::run
	-96 - /Users/byazrail/Desktop/www/jupiter/core/CLI/CommandRunner.php::runCommand
	-143 - /Users/byazrail/Desktop/www/jupiter/core/CLI/BaseCommand.php::index
	-105 - /Users/byazrail/Desktop/www/jupiter/core/Commands/Database/MigrateRefresh.php::call
	-123 - /Users/byazrail/Desktop/www/jupiter/core/CLI/CommandRunner.php::run
	-96 - /Users/byazrail/Desktop/www/jupiter/core/CLI/CommandRunner.php::runCommand
	-75 - /Users/byazrail/Desktop/www/jupiter/core/CLI/CommandRunner.php::index
	-821 - /Users/byazrail/Desktop/www/jupiter/core/CodeIgniter.php::_remap
	-325 - /Users/byazrail/Desktop/www/jupiter/core/CodeIgniter.php::runController
	-235 - /Users/byazrail/Desktop/www/jupiter/core/CodeIgniter.php::handleRequest
	-80 - /Users/byazrail/Desktop/www/jupiter/core/CLI/Console.php::run
	-67 - /Users/byazrail/Desktop/www/jupiter/spark::run
lonnieezell added a commit that referenced this issue Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant