# Shopware()-\>Application() is deprecated

**URL:** <https://forum.shopware.com/t/shopware-application-is-deprecated/60847>\
**Category:** Allgemein\
**Created:** [4. August 2019 um 06:50 UTC](https://forum.shopware.com/t/shopware-application-is-deprecated/60847 "2019-08-04T06:50:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kerstin83](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@Kerstin83](https://forum.shopware.com/u/Kerstin83)\
**Post date:** [4. August 2019 um 06:50 UTC](https://forum.shopware.com/t/shopware-application-is-deprecated/60847/1 "2019-08-04T06:50:37Z")

</div>

Liebes Forum 🙂 🙂

ich erhalte seit Shopware 5.4.6 ständig Errormails für diverse Seiten in der Art:

> Shopware()-\>Application() is deprecated since version 4.2 and will be removed in 6.0. Use the Container instead. Called by /var/www/vhosts/meinshop.de/httpdocs/custom/plugins/MbdusArticleOrder/SearchBundle/CriteriaRequestHandler.php:65  
> 2019-08-04T08:39:14.100868+0200  
> core  
> {  
> &nbsp; &nbsp; „uri“: „/cloth/layers/“,  
> &nbsp; &nbsp; „method“: „GET“,  
> &nbsp; &nbsp; „query“: {  
> &nbsp; &nbsp; &nbsp; &nbsp; „module“: „frontend“,  
> &nbsp; &nbsp; &nbsp; &nbsp; „controller“: „cat“,  
> &nbsp; &nbsp; &nbsp; &nbsp; „action“: „index“,  
> &nbsp; &nbsp; &nbsp; &nbsp; „sCategory“: „68“,  
> &nbsp; &nbsp; &nbsp; &nbsp; „rewriteUrl“: „1“  
> &nbsp; &nbsp; },  
> &nbsp; &nbsp; „post“:   
> }  
> No session data available  
> 1  
> meinshop

1. Wie ersetzt man&nbsp;Shopware()-\>Application() konkret ?

2. Es ist ja nur deprecated. Darauf aufmerksam gemacht zu werden ist ja ok, aber ständig mit solchen E-Mails ist nicht so ok. Kann man das irgendwie ausschalten ?

---

<div class="post-metadata">

**Author:** ![Kerstin83](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@Kerstin83](https://forum.shopware.com/u/Kerstin83)\
**Post date:** [5. August 2019 um 13:39 UTC](https://forum.shopware.com/t/shopware-application-is-deprecated/60847/2 "2019-08-05T13:39:52Z")

</div>

Hallo, ich habe das Gefühl, der Post ist über das Wochenende in Vergessenheit geraten. Deswegen nochmal eine kleine Erinnierung 🙂
