Skip to content

The following requested cache types are not supported: 'compiled_config'. #11295

@AntonEvers

Description

@AntonEvers

compiled_config is the only subclass of \Magento\Framework\Cache\Frontend\Decorator\TagScope that does not appear in any cache.xml file. Thus the bin/magento cache:... commands do not know about it. You cannot flush or clean it, neither can you enable/disable the compiled_config cache. However it does appear in app/etc/env.php as seen in #4556 (comment) and #4853 (comment) and #5223 (comment) among others.

Preconditions

  1. Magento 2.1.9
  2. Magento 2.2-develop

Steps to reproduce

  1. Run bin/magento cache:enable compiled_config

Expected result

Changed cache status:
               compiled_config: 0 -> 1
Cleaned cache types:
compiled_config

Actual result (2.1.9)


  [InvalidArgumentException]
  The following requested cache types are not supported: 'compiled_config'.
  Supported types: config, layout, block_html, collections, reflection, db_ddl, eav, customer_notification, translate, target_rule, full_page, config_integration, config_integration_api, config_webservice



cache:enable [--bootstrap="..."] [types1] ... [typesN]

Actual result (2.2-develop)


  [InvalidArgumentException]
  The following requested cache types are not supported: 'compiled_config'.
  Supported types: config, layout, block_html, collections, reflection, db_ddl, eav, customer_notification, config_integration, config_integration_api, full_page, translate, config_webservice


cache:enable [--bootstrap BOOTSTRAP] [--] [<types>]...

Metadata

Metadata

Assignees

Labels

Issue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions