# Cache

**URL:** <https://forum.shopware.com/t/cache/62192>\
**Category:** Programmierung\
**Created:** [7. Oktober 2019 um 13:38 UTC](https://forum.shopware.com/t/cache/62192 "2019-10-07T13:38:15Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![gwen](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gwen](https://forum.shopware.com/u/gwen)\
**Post date:** [17. Februar 2020 um 13:05 UTC](https://forum.shopware.com/t/cache/62192/8 "2020-02-17T13:05:50Z")

</div>

Nä. Nach ./console

dauert es eine Weile und dann&nbsp;erscheint der PHP Fehler&nbsp;

```
PHP Fatal error: Uncaught TypeError: Return value of Shopware\Core\Framework\FeatureFlag\FeatureConfig::registerFlag() must be an instance of Shopware\Core\Framework\FeatureFlag\void, none returned in shopware-6/vendor/shopware/core/Framework/FeatureFlag/FeatureConfig.php:12
Stack trace:
#0 shopware-6/vendor/shopware/core/Flag/feature_next733.php(7): Shopware\Core\Framework\FeatureFlag\FeatureConfig::registerFlag('next733', 'FEATURE_NEXT_73...')
#1 shopware-6/vendor/composer/autoload_real.php(66): require('/www/htdocs/...')
#2 shopware-6/vendor/composer/autoload_real.php(56): composerRequire04cabbec9e921d7ec8da3f1b21867ebd('afb484960f7f56e...', '/www/htdocs/...')
#3 shopware-6/vendor/autoload.php(7): 
ComposerAutoloaderInit04cabbec9e921d7ec8da3f1b21867ebd::getLoader()
#4 shopware-6/bin/console(15): require('/www/htdocs/...')
#5 {main}
  thrown in shopware-6/vendor/shopware/core/Framework/FeatureFlag/FeatureConfig.php on line 12

```

Ich weiß, das man bei dem PHP Bash Zeug vorher irgendwie Umgebungsvariablen installieren muss. Nur ist das auf der Windowskrücke&nbsp;mit Putty womöglich nicht möglich.

Ich habe die Version von der offiziellen Shopware Seite. Gibt es denn keinen Button zum Cache und Theme generieren wie in Shopware 5?

Gruß

---

_[View the full topic](https://forum.shopware.com/t/cache/62192)._
