# Tutorial von Udemy

**URL:** <https://forum.shopware.com/t/tutorial-von-udemy/60412>\
**Category:** Installation/Einstieg\
**Created:** [12. Juli 2019 um 13:26 UTC](https://forum.shopware.com/t/tutorial-von-udemy/60412 "2019-07-12T13:26:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mockauer](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mockauer](https://forum.shopware.com/u/mockauer)\
**Post date:** [12. Juli 2019 um 13:26 UTC](https://forum.shopware.com/t/tutorial-von-udemy/60412/1 "2019-07-12T13:26:38Z")

</div>

Hallo,

&nbsp;

ich habe das Einsteigsvideotutorial gemacht und bin nun beim Advanced.

Ich bin im Kapitel 4 Video 14.

Ich habe das Tutorial von SwagBundle5 gemacht und nun auch das fertige von 6 herunter geladen, ich habe eine weiße Seite, wenn ich auf einer Kategorieseite bin. Wo ist der Fehler?

---

<div class="post-metadata">

**Author:** ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)\
**Post date:** [13. Juli 2019 um 09:32 UTC](https://forum.shopware.com/t/tutorial-von-udemy/60412/2 "2019-07-13T09:32:04Z")

</div>

Gibt es eine Fehlermeldung im Shopware-Log oder im Error-Log der Website?

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

**Author:** ![mockauer](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mockauer](https://forum.shopware.com/u/mockauer)\
**Post date:** [15. Juli 2019 um 06:55 UTC](https://forum.shopware.com/t/tutorial-von-udemy/60412/3 "2019-07-15T06:55:16Z")

</div>

Ich hatte das Fehlerlog an, da kam nichts, aber scheinbar war auch dort etwas stehen geblieben. Heute hatte ich nochmal alles neugestartet, dann kam zuerst:

&nbsp;

[Mon Jul 15 08:37:17.557546 2019] [php7:notice] [pid 9672] [client 127.0.0.1:34222] PHP Fatal error:&nbsp; Uncaught SmartyCompilerException: Syntax Error in template „/var/www/html/shopware\_fortgeschritten/themes/Frontend/Bare/frontend/index/index.tpl“&nbsp; on line 7 „\<html class=„no-js“ lang=“{s name=‚IndexXmlLang‘}{/s}" itemscope=„itemscope“ itemtype="[http://schema.org/WebPage"\>"](http://schema.org/WebPage%22%3E%22) unknown tag „s“ in /var/www/html/shopware\_fortgeschritten/engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php:657\nStack trace:\n#0 /var/www/html/shopware\_fortgeschritten/engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php(443): Smarty\_Internal\_TemplateCompilerBase-\>trigger\_template\_error(‚unknown tag „s“‘, 7)\n#1 /var/www/html/shopware\_fortgeschritten/engine/Library/Smarty/sysplugins/smarty\_internal\_templateparser.php(2388): Smarty\_Internal\_TemplateCompilerBase-\>compileTag(‚s‘, Array)\n#2 /var/www/html/shopware\_fortgeschritten/engine/Library/Smarty/sysplugins/smarty\_internal\_templatepar in /var/www/html/shopware\_fortgeschritten/engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php on line 657, referer: [http://localhost/shopware\_fortgeschritten/](http://localhost/shopware_fortgeschritten/)

&nbsp;

Danach hatte ich gesucht, dann stand da ich solle mal den Cache von Shopware löschen und dann kam die nächste Fehlermeldung.

&nbsp;

[Mon Jul 15 08:48:49.550128 2019] [php7:notice] [pid 9673] [client 127.0.0.1:35204] PHP Fatal error:&nbsp; Uncaught Error: Class ‚SwagAdvDevBundle5\Bundle\StoreFrontBundle\Bundle‘ not found in /var/www/html/shopware\_fortgeschritten/custom/plugins/SwagAdvDevBundle5/Bundle/StoreFrontBundle/BundleService.php:71\nStack trace:\n#0 /var/www/html/shopware\_fortgeschritten/custom/plugins/SwagAdvDevBundle5/Bundle/StoreFrontBundle/BundleService.php(52): SwagAdvDevBundle5\Bundle\StoreFrontBundle\BundleService-\>getBundlesByProductId(14)\n#1 /var/www/html/shopware\_fortgeschritten/custom/plugins/SwagAdvDevBundle5/Bundle/StoreFrontBundle/ListProductServiceDecorator.php(43): SwagAdvDevBundle5\Bundle\StoreFrontBundle\BundleService-\>getProductBundles(14, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext))\n#2 /var/www/html/shopware\_fortgeschritten/engine/Shopware/Bundle/SearchBundle/ProductSearch.php(67): SwagAdvDevBundle5\Bundle\StoreFrontBundle\ListProductServiceDecorator-\>getList(Array, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext))\n#3 /var/www/html/shopware\_fortgeschritten/engine/Shopware/Bundle/SearchBundle/V in /var/www/html/shopware\_fortgeschritten/custom/plugins/SwagAdvDevBundle5/Bundle/StoreFrontBundle/BundleService.php on line 71, referer: [http://localhost/shopware\_fortgeschritten/](http://localhost/shopware_fortgeschritten/)

&nbsp;

---

<div class="post-metadata">

**Author:** ![mockauer](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mockauer](https://forum.shopware.com/u/mockauer)\
**Post date:** [15. Juli 2019 um 07:01 UTC](https://forum.shopware.com/t/tutorial-von-udemy/60412/4 "2019-07-15T07:01:35Z")

</div>

Habe den Fehler nun gefunden.

&nbsp;

In der Bundle/BundleService.php war ein Fehler in Zeile 71

```
foreach ($result as $row) {
            $bundle = new Struct\Bundle();

            $bundle->setId($row['id']);
            $bundle->setName($row['name']);

            $bundles[] = $bundle;

        }

```

In der Zeile, wo man $bundle = new Bundle(); aufruft, muss noch der übergeordnete Ordner mit eingetragen werden, dann geht es.

---

<div class="post-metadata">

**Author:** ![mockauer](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@mockauer](https://forum.shopware.com/u/mockauer)\
**Post date:** [18. Juli 2019 um 14:17 UTC](https://forum.shopware.com/t/tutorial-von-udemy/60412/5 "2019-07-18T14:17:14Z")

</div>

Wie ist die Lösung von dem Advanced Beispiel?
