# infinite scrolling nach update auf 5.3.3 : TypeError: Cannot read property 'trim' of undefined at

**URL:** <https://forum.shopware.com/t/infinite-scrolling-nach-update-auf-5-3-3-typeerror-cannot-read-property-trim-of-undefined-at/48732>\
**Category:** Programmierung\
**Created:** [10. Oktober 2017 um 10:34 UTC](https://forum.shopware.com/t/infinite-scrolling-nach-update-auf-5-3-3-typeerror-cannot-read-property-trim-of-undefined-at/48732 "2017-10-10T10:34:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonaswagner](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jonaswagner](https://forum.shopware.com/u/jonaswagner)\
**Post date:** [10. Oktober 2017 um 10:34 UTC](https://forum.shopware.com/t/infinite-scrolling-nach-update-auf-5-3-3-typeerror-cannot-read-property-trim-of-undefined-at/48732/1 "2017-10-10T10:34:58Z")

</div>

Hallo liebe Community! Nach dem Update auf 5.3.3 funktioniert das infitite Scrolling leider nicht mehr. Es werden keine weiteren Elemente geladen und ich erhalten folgende Fehlermeldung: TypeError: Cannot read property ‚trim‘ of undefined at at Plugin.appendListing

Ich habe auch mal aufs „Responsive Theme“ zurück geschaltet - da funktioniert es leider auch nicht.&nbsp;

Woran kann das liegen? Wie kann ich den Fehler finden? Hat jemand einen Tipp?

Danke!!!

&nbsp;

---

<div class="post-metadata">

**Author:** ![jonaswagner](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jonaswagner](https://forum.shopware.com/u/jonaswagner)\
**Post date:** [10. Oktober 2017 um 11:00 UTC](https://forum.shopware.com/t/infinite-scrolling-nach-update-auf-5-3-3-typeerror-cannot-read-property-trim-of-undefined-at/48732/2 "2017-10-10T11:00:36Z")

</div>

ich habe nun die jquery.infinite-scrolling.js aus meiner 5.2.X Version hochgeladen - damit funktioniert das ininite Scrolling wieder. Ich weiß nicht ob noch jemand das Problem hat - falls ja könnte es ja helfen 😉

&nbsp;

---

<div class="post-metadata">

**Author:** ![IFF](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@IFF](https://forum.shopware.com/u/IFF)\
**Post date:** [10. Oktober 2017 um 12:05 UTC](https://forum.shopware.com/t/infinite-scrolling-nach-update-auf-5-3-3-typeerror-cannot-read-property-trim-of-undefined-at/48732/3 "2017-10-10T12:05:05Z")

</div>

> funktioniert das infitite Scrolling leider nicht mehr

Vielleicht auch gut so. Es gibt wirklich keine nervige und&nbsp;kunden abschreckende Funktion wie diese. Usability sieht anders aus.

🙂  
&nbsp;

---

<div class="post-metadata">

**Author:** ![iNono](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@iNono](https://forum.shopware.com/u/iNono)\
**Post date:** [8. Dezember 2017 um 14:22 UTC](https://forum.shopware.com/t/infinite-scrolling-nach-update-auf-5-3-3-typeerror-cannot-read-property-trim-of-undefined-at/48732/4 "2017-12-08T14:22:11Z")

</div>

Hab genau das gleiche Problem. Gibt es dazu schon eine andere Lösung, als die Datei von der alten Version zu kopieren? Das hat bei mir nämlich nicht geklappt.

---

<div class="post-metadata">

**Author:** ![iNono](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@iNono](https://forum.shopware.com/u/iNono)\
**Post date:** [12. Dezember 2017 um 11:03 UTC](https://forum.shopware.com/t/infinite-scrolling-nach-update-auf-5-3-3-typeerror-cannot-read-property-trim-of-undefined-at/48732/5 "2017-12-12T11:03:35Z")

</div>

Es lag daran, dass in meinem Template in der Datei frontend/listing/index.tpl der Block “frontend\_index\_content\_left” mit einem leeren Block&nbsp;überschrieben war. Deshalb ging der Ajax Request an eine falsche URL. So sieht es jetzt aus:

```
{block name='frontend_index_content_left'}
    {block name='frontend_index_controller_url'}
        {* Controller url for the found products counter *}
        {$countCtrlUrl = "{url module="widgets" controller="listing" action="listingCount" params=$ajaxCountUrlParams fullPath}"}
    {/block}
{/block}

```

Jetzt funktioniert es wieder.
