Closed wouter-vs closed 6 years ago
Hi,
This issue seems to be due to the fact that the web request class has the getIsAjax()
method but the console request class does not. I've just made a new release to hopefully address this by checking if the request has come from the console and whether the getIsAjax()
method exists.
Please can you try this and let me know if it has resolved your issue with Schematic?
Thanks,
Mark
That did it.
Tnx for the quick fix.
When exporting the configuration with Schematic an error is thrown.
Exception 'yii\base\UnknownMethodException' with message 'Calling unknown method: craft\console\Request::getIsAjax()'
in /vagrant/htdocs/vendor/yiisoft/yii2/base/Component.php:300