boldenamsterdam / htmlcache

Cache pages to HTML and boost website performance on Craft CMS 3
MIT License
31 stars 21 forks source link

CLI error #2

Closed tfortier closed 5 years ago

tfortier commented 5 years ago

When the plugin is installed any CLI command returns an error. Disabling the plugin fixes the issue.

Example command : ./craft Error : Exception 'yii\base\UnknownMethodException' with message 'Calling unknown method: craft\console\Request::getParam()'

This seems to have a link with https://github.com/craftcms/element-api/issues/80 but I'm not exactly sure.

boldenamsterdam commented 5 years ago

It looks related indeed. I have a craft installation with the plugin enabled and ./craft command works fine. Can you tell me how to reproduce the error?

tfortier commented 5 years ago

Hum, weird. Maybe it's the fact I'm on Windows? Craft CMS seems to hate running on Windows for some reason.

boldenamsterdam commented 5 years ago

Not sure. I pushed an update to dev-master with a possible fix. can you check if your issue has been fixed?