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

An exception is thrown when running any craft command #5225

Open
Sam-Black-0013 opened this issue Nov 10, 2019 · 1 comment
Open

An exception is thrown when running any craft command #5225

Sam-Black-0013 opened this issue Nov 10, 2019 · 1 comment

Comments

@Sam-Black-0013
Copy link

@Sam-Black-0013 Sam-Black-0013 commented Nov 10, 2019

Description

I am trying to run the garbage collection command, but i get this exception:

Exception 'yii\base\UnknownMethodException' with message 'Calling unknown method: craft\console\Request::getSegment()'

in ....\vendor\yiisoft\yii2\base\Component.php:300

Additional info

  • Craft version: 3.3.15
@Sam-Black-0013 Sam-Black-0013 changed the title An exception is thrown when running the garbage collection command An exception is thrown when running any craft command Nov 18, 2019
@brandonkelly

This comment has been minimized.

Copy link
Member

@brandonkelly brandonkelly commented Nov 18, 2019

Can you post the stack trace that accompanies that error? If it wasn’t output directly in the console, you should be able to find it by searching for the error message in storage/logs/console.log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.