# Funktioniert bei euch noch Netieasycoupon ?

**URL:** <https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486>\
**Category:** Sonstiges\
**Created:** [11. März 2019 um 12:46 UTC](https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486 "2019-03-11T12:46:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Misengo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/misengo/32/21446_2.png) [@Misengo](https://forum.shopware.com/u/Misengo)\
**Post date:** [11. März 2019 um 12:46 UTC](https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486/1 "2019-03-11T12:46:05Z")

</div>

Seit geraumer Zeit werden bei uns keine Mails mehr über den Cronjob versandt.&nbsp;

&nbsp;

```
$coupon['sArticle'] = $this->swModules->Articles()->sGetArticleById($coupon['articleID']);

// dabei knallt er hart weg in der Method sGetArticleById() ->

$sCategoryID = $this->frontController->Request()->getParam('sCategory');

//Uncaught Error: Call to a member function getParam() on null in /var/www/shopware/engine/Shopware/Core/sArticles.php:1061

```

&nbsp;

Hat jemand einen Workaround bis die das fixen?

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [11. März 2019 um 13:15 UTC](https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486/2 "2019-03-11T13:15:12Z")

</div>

$this-\>frontController-\>Request()

Das steht so im cronjob?! Bist du dir sicher?

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Misengo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/misengo/32/21446_2.png) [@Misengo](https://forum.shopware.com/u/Misengo)\
**Post date:** [11. März 2019 um 14:03 UTC](https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486/3 "2019-03-11T14:03:47Z")

</div>

> [@EikeWarneke schrieb:](https://forum.shopware.com/profile/11752/EikeWarneke "EikeWarneke")
> 
> $this-\>frontController-\>Request()
> 
> Das steht so im cronjob?! Bist du dir sicher?
> 
> Viele Grüße

Nee, das macht er in der&nbsp;sGetArticleById() - hab mal den Quelltext angepasst.

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [11. März 2019 um 14:25 UTC](https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486/4 "2019-03-11T14:25:08Z")

</div>

Dannn melde den Fehler mal an Neti.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Misengo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/misengo/32/21446_2.png) [@Misengo](https://forum.shopware.com/u/Misengo)\
**Post date:** [11. März 2019 um 14:38 UTC](https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486/5 "2019-03-11T14:38:51Z")

</div>

> [@EikeWarneke schrieb:](https://forum.shopware.com/profile/11752/EikeWarneke "EikeWarneke")
> 
> Dannn melde den Fehler mal an Neti.
> 
> Viele Grüße

Hab ich bereits, dachte jemand anders hat es als QF gelöst, dauert bei denen ja bekanntlich mit dem Support…

&nbsp;

---

<div class="post-metadata">

**Author:** ![Misengo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/misengo/32/21446_2.png) [@Misengo](https://forum.shopware.com/u/Misengo)\
**Post date:** [12. März 2019 um 08:02 UTC](https://forum.shopware.com/t/funktioniert-bei-euch-noch-netieasycoupon/58486/6 "2019-03-12T08:02:52Z")

</div>

```
$coupon['sArticle'] = $this->swModules->Articles()->sGetArticleById(
    $coupon['articleID'],
    0,
    null,
    [0 => 0]
);

```

Habe heute den QF von Neti bekommen:

&nbsp;

&nbsp;
