davit_sargsyandavit_sargsyan MemberComments: 29 Received thanks: 0 Member since: June 2018

I am unable to find the place where the cache can be cleaned in Shopware 6, also the cli command throws an error when trying to clean the cache.

Comments

  • ShyimShyim MemberComments: 1009 Received thanks: 408 Member since: May 2015

    Will be possible with 6.2. Currently you have delete using cli or just remove the folder in /var/cache

  • davit_sargsyandavit_sargsyan MemberComments: 29 Received thanks: 0 Member since: June 2018

    So it is not possible to compile the theme also?

  • davit_sargsyandavit_sargsyan MemberComments: 29 Received thanks: 0 Member since: June 2018

    @Shyim

  • ShyimShyim MemberComments: 1009 Received thanks: 408 Member since: May 2015

    There are cli commands for.

    Using the admin you have to open the saleschannel and assign a theme to the sales channel

  • davit_sargsyandavit_sargsyan MemberComments: 29 Received thanks: 0 Member since: June 2018

    The cli throws errors, is there some problems also?
     

     Return value of Shopware\Core\Framework\Event\BusinessEventDispatcher::disp  

      atch() must be an instance of Shopware\Core\Framework\Event\object, instanc  

      e of Symfony\Component\Console\Event\ConsoleErrorEvent returned    

  • brettvormkoppbrettvormkopp MemberComments: 1669 Received thanks: 331 Member since: March 2013

    @davit_sargsyan‍ it is not possible. you have to use the  command line CLI for it.

  • davit_sargsyandavit_sargsyan MemberComments: 29 Received thanks: 0 Member since: June 2018

    Is the command bin/console theme:change MyCustomTheme this one?

     

  • ShyimShyim MemberComments: 1009 Received thanks: 408 Member since: May 2015

    You don't have PHP 7.2 installed

    Thanked by 1davit_sargsyan
  • davit_sargsyandavit_sargsyan MemberComments: 29 Received thanks: 0 Member since: June 2018

    That worked indeed, thanks!

  • MarioBellinoMarioBellino MemberComments: 21 Received thanks: 3 Member since: January 2019
  • ChocoSWChocoSW MemberComments: 6 Received thanks: 0 edited February 18 Member since: September 2019

    You know that a shop system is neither recommendable nor final if you need to pay EUR 20.00 for a plugin to empty the cache without the CLI...

Sign In or Register to comment.