# Very Interesting error message after v2.4 upgrade

**URL:** <https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847>\
**Category:** Product Support\
**Created:** [December 14, 2016, 12:15am UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847 "2016-12-14T00:15:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 12:15am UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847/1 "2016-12-14T00:15:59Z")

</div>

After successfully upgrading to version 2.4 today, I noticed the following error message in system log:  
  
  
  
mautic.ERROR: Deprecation: SymfonyComponentDependencyInjectionDefinition::setFactoryService(doctrine) **is deprecated since version 2.6 and will be removed in 3.0**. Use Definition::setFactory() instead. - in file /home/…/mautic/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []  
  
  
  
It says something has been deprecated since version 2.6 and will be removed in ver 3.0. but we are only on version 2.4 so far!  
  
Interesting, isn’t it? What is this error about? and what should I do to fix it?

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 12:15am UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847/2 "2016-12-14T00:15:59Z")

</div>

After successfully upgrading to version 2.4 today, I noticed the following error message in system log:

mautic.ERROR: Deprecation: SymfonyComponentDependencyInjectionDefinition::setFactoryService(doctrine) is deprecated since version 2.6 and will be removed in 3.0. Use Definition::setFactory() instead. - in file /home/…/mautic/vendor/symfony/dependency-injection/Definition.php - at line 204 [] []

It says something has been deprecated since version 2.6 and will be removed in ver 3.0. but we are only on version 2.4 so far!  
Interesting, isn’t it? What is this error about? and what should I do to fix it?

---

<div class="post-metadata">

**Author:** ![chris0928](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris0928/32/118_2.png) [@chris0928](https://forum.mautic.org/u/chris0928)\
**Post date:** [December 14, 2016, 12:20am UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847/3 "2016-12-14T00:20:33Z")

</div>

@imautic I can’t help you with the error (sorry!) – but I think the version numbers are related to Symfony, not Mautic

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 12:27am UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847/4 "2016-12-14T00:27:42Z")

</div>

No worries, Chris. Just wondering if anyone else has noticed the same error message in their system, I actually think it is a bug.

On the surface, Mautic seems to be working fine. If I wasn’t checking system log for something else, I wouldn’t have noticed this.

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [December 14, 2016, 7:55am UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847/5 "2016-12-14T07:55:24Z")

</div>

I had the same message after a clean install with softaculous

---

<div class="post-metadata">

**Author:** ![MarkLL](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MarkLL](https://forum.mautic.org/u/MarkLL)\
**Post date:** [December 14, 2016, 8:53am UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847/6 "2016-12-14T08:53:09Z")

</div>

Hi @imautic, I’ve seen the error a number of times.

It’s nothing to worry about 🙂 Basically it’s put in by the developers of the framework (Symphony) to ensure developers using their framework are aware that something is going to disappear in a future release. Mautic has it’s own similar messages also.

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [December 14, 2016, 3:29pm UTC](https://forum.mautic.org/t/very-interesting-error-message-after-v2-4-upgrade/6847/7 "2016-12-14T15:29:24Z")

</div>

@MarkLL Thanks for the insight!
