Size: a a a

2020 December 29

M

Mr.42 in Yii Framework 3
With Cycle I wouldn't have to run migration 👹
источник

T

TradersVE in Yii Framework 3
yes
источник

M

Mr.42 in Yii Framework 3
Terabytesoftw I'm not sure if the bug is actually in your code, or it just exposes the issue...
источник

M

Mr.42 in Yii Framework 3
Exception trace:
 at /yii3/vendor/yiisoft/proxy/src/ProxyTrait.php:20
Yiisoft\Yii\Debug\Proxy\ContainerInterfaceProxy->repeatError() at /yii3/vendor/yiisoft/yii-debug/src/Proxy/ContainerInterfaceProxy.php:62
Yiisoft\Yii\Debug\Proxy\ContainerInterfaceProxy->get() at /yii3/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php:45
Symfony\Component\Console\CommandLoader\ContainerCommandLoader->get() at /yii3/vendor/symfony/console/Application.php:551
Symfony\Component\Console\Application->has() at /yii3/vendor/symfony/console/Application.php:747
Symfony\Component\Console\Application->all() at /yii3/vendor/symfony/console/Descriptor/ApplicationDescription.php:91
Symfony\Component\Console\Descriptor\ApplicationDescription->inspectApplication() at /yii3/vendor/symfony/console/Descriptor/ApplicationDescription.php:68
Symfony\Component\Console\Descriptor\ApplicationDescription->getCommands() at /yii3/vendor/symfony/console/Descriptor/TextDescriptor.php:200
Symfony\Component\Console\Descriptor\TextDescriptor->describeApplication() at /yii3/vendor/symfony/console/Descriptor/Descriptor.php:55
Symfony\Component\Console\Descriptor\Descriptor->describe() at /yii3/vendor/symfony/console/Helper/DescriptorHelper.php:65
Symfony\Component\Console\Helper\DescriptorHelper->describe() at /yii3/vendor/symfony/console/Command/ListCommand.php:70
Symfony\Component\Console\Command\ListCommand->execute() at /yii3/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /yii3/vendor/symfony/console/Application.php:989
Symfony\Component\Console\Application->doRunCommand() at /yii3/vendor/symfony/console/Application.php:290
Symfony\Component\Console\Application->doRun() at /yii3/vendor/symfony/console/Application.php:166
Symfony\Component\Console\Application->run() at /yii3/vendor/yiisoft/yii-console/bin/yii:80
{closure}() at /yii3/vendor/yiisoft/yii-console/bin/yii:87
источник

DS

Dmitriy S in Yii Framework 3
Mr.42
Exception trace:
 at /yii3/vendor/yiisoft/proxy/src/ProxyTrait.php:20
Yiisoft\Yii\Debug\Proxy\ContainerInterfaceProxy->repeatError() at /yii3/vendor/yiisoft/yii-debug/src/Proxy/ContainerInterfaceProxy.php:62
Yiisoft\Yii\Debug\Proxy\ContainerInterfaceProxy->get() at /yii3/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php:45
Symfony\Component\Console\CommandLoader\ContainerCommandLoader->get() at /yii3/vendor/symfony/console/Application.php:551
Symfony\Component\Console\Application->has() at /yii3/vendor/symfony/console/Application.php:747
Symfony\Component\Console\Application->all() at /yii3/vendor/symfony/console/Descriptor/ApplicationDescription.php:91
Symfony\Component\Console\Descriptor\ApplicationDescription->inspectApplication() at /yii3/vendor/symfony/console/Descriptor/ApplicationDescription.php:68
Symfony\Component\Console\Descriptor\ApplicationDescription->getCommands() at /yii3/vendor/symfony/console/Descriptor/TextDescriptor.php:200
Symfony\Component\Console\Descriptor\TextDescriptor->describeApplication() at /yii3/vendor/symfony/console/Descriptor/Descriptor.php:55
Symfony\Component\Console\Descriptor\Descriptor->describe() at /yii3/vendor/symfony/console/Helper/DescriptorHelper.php:65
Symfony\Component\Console\Helper\DescriptorHelper->describe() at /yii3/vendor/symfony/console/Command/ListCommand.php:70
Symfony\Component\Console\Command\ListCommand->execute() at /yii3/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /yii3/vendor/symfony/console/Application.php:989
Symfony\Component\Console\Application->doRunCommand() at /yii3/vendor/symfony/console/Application.php:290
Symfony\Component\Console\Application->doRun() at /yii3/vendor/symfony/console/Application.php:166
Symfony\Component\Console\Application->run() at /yii3/vendor/yiisoft/yii-console/bin/yii:80
{closure}() at /yii3/vendor/yiisoft/yii-console/bin/yii:87
What is a text of the exception?
источник

M

Mr.42 in Yii Framework 3
vendor/bin/yii -vvv
Assembling config files
Yii Console 3.0

[..]

In ProxyTrait.php line 20:
                                                         
 [Yiisoft\Factory\Exceptions\NotFoundException]          
 No definition for YiiRocks\SvgInline\SvgInlineInterface


And then the trace
источник

M

Mr.42 in Yii Framework 3
I have SvgInlineInterface configured in web config, so console should not even see it
источник

M

Mr.42 in Yii Framework 3
When i had that issue fixed, it came up with
No definition for Yiisoft\Csrf\CsrfTokenInterface
источник

DS

Dmitriy S in Yii Framework 3
Mr.42
I have SvgInlineInterface configured in web config, so console should not even see it
This is yiisoft/app template?
источник

M

Mr.42 in Yii Framework 3
Ow no, this is my own setup. We're testing yii-extension/user and try to figure out where the error is triggered from
источник

DS

Dmitriy S in Yii Framework 3
Mr.42
Ow no, this is my own setup. We're testing yii-extension/user and try to figure out where the error is triggered from
You have a problem with your config. This is container's exception.
источник

M

Mr.42 in Yii Framework 3
Yeah, something is trying to load web components into console. The fun part is to try and find it ;)
источник

DS

Dmitriy S in Yii Framework 3
You should check runtime/build/console.php
источник

M

Mr.42 in Yii Framework 3
Now that's helpful! Let's see
источник

M

Mr.42 in Yii Framework 3
Hmm, there is no build in runtime
источник

T

TradersVE in Yii Framework 3
Mr.42
Hmm, there is no build in runtime
I already found out the error, there are some classes that I cannot inject into setDefaultParameters.
источник

T

TradersVE in Yii Framework 3
when you use yiisoft / yii-db-migration, it uses the view
источник

M

Mr.42 in Yii Framework 3
😨
источник

T

TradersVE in Yii Framework 3
then try to load the classes that are in common in setDefaultParameters
источник

T

TradersVE in Yii Framework 3
but that is not a bad thing to die is easily fixed.
источник