# update Mautic from 2.5.1 to 2.6 Error

**URL:** <https://forum.mautic.org/t/update-mautic-from-2-5-1-to-2-6-error/7504>\
**Category:** Product Support\
**Created:** [February 13, 2017, 7:39pm UTC](https://forum.mautic.org/t/update-mautic-from-2-5-1-to-2-6-error/7504 "2017-02-13T19:39:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![byrge](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@byrge](https://forum.mautic.org/u/byrge)\
**Post date:** [February 13, 2017, 7:39pm UTC](https://forum.mautic.org/t/update-mautic-from-2-5-1-to-2-6-error/7504/1 "2017-02-13T19:39:50Z")

</div>

I tried to update to Mautic 2.6 from 2.5.1 and got the following error:

Code:

[SymfonyComponentDebugExceptionFatalThrowableError] Type error: Argument 1 passed to MauticCoreBundleHelperCacheHelper::\_\_construct() must be an instance of AppKernel, instance of MauticCoreBundleFactoryMauticFactory given, called in var/www/html/mautic/app/cache/prod/appProdProjectContainer.php on line 9035

  
I tried to update manually with the following commands in the console:  
php app/console cache:clear  
php app/console mautic:update:find  
php app/console mautic:update:apply

---

<div class="post-metadata">

**Author:** ![byrge](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@byrge](https://forum.mautic.org/u/byrge)\
**Post date:** [February 13, 2017, 7:39pm UTC](https://forum.mautic.org/t/update-mautic-from-2-5-1-to-2-6-error/7504/2 "2017-02-13T19:39:50Z")

</div>

I tried to update to Mautic 2.6 from 2.5.1 and got the following error:

`[SymfonyComponentDebugExceptionFatalThrowableError]                                                                         
  Type error: Argument 1 passed to MauticCoreBundleHelperCacheHelper::__construct() must be an instance of AppKernel, instance of MauticCoreBundleFactoryMauticFactory given, called in var/www/html/mautic/app/cache/prod/appProdProjectContainer.php on line 9035 `

I tried to update manually with the following commands in the console:  
php app/console cache:clear  
php app/console mautic:update:find  
php app/console mautic:update:apply

---

<div class="post-metadata">

**Author:** ![bchiam](https://avatars.discourse-cdn.com/v4/letter/b/bcef8e/32.png) [@bchiam](https://forum.mautic.org/u/bchiam)\
**Post date:** [February 14, 2017, 7:41am UTC](https://forum.mautic.org/t/update-mautic-from-2-5-1-to-2-6-error/7504/3 "2017-02-14T07:41:20Z")

</div>

Revert back to 2.5.1 for the time being. Wait for the more stable release.

---

<div class="post-metadata">

**Author:** ![paulisystems](https://avatars.discourse-cdn.com/v4/letter/p/ea5d25/32.png) [@paulisystems](https://forum.mautic.org/u/paulisystems)\
**Post date:** [February 15, 2017, 9:40pm UTC](https://forum.mautic.org/t/update-mautic-from-2-5-1-to-2-6-error/7504/4 "2017-02-15T21:40:46Z")

</div>

Ran into the same trouble. How do you revert back to 2.5.1?  
from the command line?
