# cache clear

**URL:** <https://forum.mautic.org/t/cache-clear/6004>\
**Category:** Development\
**Created:** [March 4, 2016, 5:15am UTC](https://forum.mautic.org/t/cache-clear/6004 "2016-03-04T05:15:43Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![jothi](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jothi](https://forum.mautic.org/u/jothi)\
**Post date:** [March 4, 2016, 5:15am UTC](https://forum.mautic.org/t/cache-clear/6004/1 "2016-03-04T05:15:43Z")

</div>

after update of mautic 1.3  
  
  
  
having issue with dashboard and sub modules  
  
  
  
so some people suggest to clear the cache  
  
  
  
so trying to clear the cache  
  
  
  
[xxx@192-168-174-272-ad mautic]# php app/console cache:clear  
  
  
  
Clearing the cache for the prod environment with debug false  
  
PHP Fatal error: Class ‘DOMDocument’ not found in /opt/lampp/htdocs/mautic/vendor/symfony/config/Symfony/Component/Config/Util/XmlUtils.php on line 52  
  
  
  
please help

---

<div class="post-metadata">

**Author:** ![tristanbailey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tristanbailey/32/9_2.png) [@tristanbailey](https://forum.mautic.org/u/tristanbailey)\
**Post date:** [September 26, 2016, 3:13am UTC](https://forum.mautic.org/t/cache-clear/6004/2 "2016-09-26T03:13:56Z")

</div>

Using the command line app

```auto
php app/console cache:clear
```

---

<div class="post-metadata">

**Author:** ![jothi](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jothi](https://forum.mautic.org/u/jothi)\
**Post date:** [March 4, 2016, 5:15am UTC](https://forum.mautic.org/t/cache-clear/6004/3 "2016-03-04T05:15:43Z")

</div>

after update of mautic 1.3

having issue with dashboard and sub modules

so some people suggest to clear the cache

so trying to clear the cache

[xxx@192-168-174-272-ad mautic]# php app/console cache:clear

Clearing the cache for the prod environment with debug false  
PHP Fatal error: Class ‘DOMDocument’ not found in /opt/lampp/htdocs/mautic/vendor/symfony/config/Symfony/Component/Config/Util/XmlUtils.php on line 52

please help

---

<div class="post-metadata">

**Author:** ![mfarmer](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@mfarmer](https://forum.mautic.org/u/mfarmer)\
**Post date:** [December 23, 2016, 1:13pm UTC](https://forum.mautic.org/t/cache-clear/6004/4 "2016-12-23T13:13:37Z")

</div>

I just emptied/deleted everything inside of the ‘app/cache’ directory… It worked for me.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [January 4, 2017, 7:07am UTC](https://forum.mautic.org/t/cache-clear/6004/5 "2017-01-04T07:07:09Z")

</div>

i update mautic with 2.4.0 to 2.5.0 and follow the step to clear cache but i got and error

"php app/console cache:clear // Clearing the cache for the prod environment with debug  
// false  
What i have to do please help me out

Thanks in Advance

---

<div class="post-metadata">

**Author:** ![psopacua](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@psopacua](https://forum.mautic.org/u/psopacua)\
**Post date:** [January 5, 2017, 8:36am UTC](https://forum.mautic.org/t/cache-clear/6004/6 "2017-01-05T08:36:43Z")

</div>

[quote=18429:@bizcrony]i update mautic with 2.4.0 to 2.5.0 and follow the step to clear cache but i got and error

"php app/console cache:clear // Clearing the cache for the prod environment with debug  
// false  
What i have to do please help me out

Thanks in Advance[/quote]

Same problem here!

My output:

> [@](#):
>
> // Clearing the cache for the prod environment with debug false  
> Parse error: parse error in /Users/pascal/Sites/RAoW/sites/mautic/www/app/bundles/ReportBundle/Model/ReportModel.php on line 689
> 
> [SymfonyComponentDebugExceptionFatalErrorException]  
> Parse Error: parse error

---

<div class="post-metadata">

**Author:** ![saisiniq](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@saisiniq](https://forum.mautic.org/u/saisiniq)\
**Post date:** [January 7, 2017, 4:53pm UTC](https://forum.mautic.org/t/cache-clear/6004/7 "2017-01-07T16:53:00Z")

</div>

Also me…

I tried to update via the frontend, but I got an error opening the contacts. So I deleted the cache-folder via the console. Same problem.

---

<div class="post-metadata">

**Author:** ![drbix](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@drbix](https://forum.mautic.org/u/drbix)\
**Post date:** [January 8, 2017, 3:54pm UTC](https://forum.mautic.org/t/cache-clear/6004/8 "2017-01-08T15:54:09Z")

</div>

I had a slightly different error when I was trying to clear cache but you may want to try increasing memory\_limit in php.ini to 256M if yours is not 256M at the moment. Not sure if it will solve your problem but it fixed mine.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [January 26, 2017, 7:05am UTC](https://forum.mautic.org/t/cache-clear/6004/9 "2017-01-26T07:05:47Z")

</div>

@psopacua  
i resolved this problem …  
let me know if you still have this problem.

---

<div class="post-metadata">

**Author:** ![marogalli](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@marogalli](https://forum.mautic.org/u/marogalli)\
**Post date:** [July 24, 2017, 3:08pm UTC](https://forum.mautic.org/t/cache-clear/6004/10 "2017-07-24T15:08:09Z")

</div>

Hello, is it possible to clear cache in [Mautic.net](http://Mautic.net) instance ?

Thanks

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [September 30, 2017, 1:34pm UTC](https://forum.mautic.org/t/cache-clear/6004/11 "2017-09-30T13:34:28Z")

</div>

@bizcrony can you please share the solution, it might be helpful to others…  
@marogalli, you can ask mautic support to do it for you (open a ticket?)

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [September 30, 2017, 2:41pm UTC](https://forum.mautic.org/t/cache-clear/6004/12 "2017-09-30T14:41:34Z")

</div>

@Yosu Cadilla you can clear the cache by SSH or you also can delete the folder of Cache

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [September 30, 2017, 2:47pm UTC](https://forum.mautic.org/t/cache-clear/6004/13 "2017-09-30T14:47:56Z")

</div>

@bizcrony How exactly do you do this with SSH?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [October 1, 2017, 12:18am UTC](https://forum.mautic.org/t/cache-clear/6004/14 "2017-10-01T00:18:28Z")

</div>

where you installed your mautic .cpanel ?

check my profile to better results

---

<div class="post-metadata">

**Author:** ![gerry](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@gerry](https://forum.mautic.org/u/gerry)\
**Post date:** [November 26, 2017, 9:18am UTC](https://forum.mautic.org/t/cache-clear/6004/15 "2017-11-26T09:18:26Z")

</div>

@Yosu Cadilla

I use [ServerPilot.io](http://ServerPilot.io) to manage VPS servers. Here are the basic instructions to clear via SSH:

(this is for Ubuntu)

1. SSH to your server (use a tool like MobaXterm - [https://mobaxterm.mobatek.net/download.html](https://mobaxterm.mobatek.net/download.html))
2. Navigate to your Mautic instance folder
3. Type: php app/console cache:clear

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [July 7, 2020, 10:59am UTC](https://forum.mautic.org/t/cache-clear/6004/16 "2020-07-07T10:59:49Z")

</div>


