# Bug in the Documentation

**URL:** <https://forum.shopware.com/t/bug-in-the-documentation/96134>\
**Category:** Other Questions (EN)\
**Created:** [8. September 2022 um 02:48 UTC](https://forum.shopware.com/t/bug-in-the-documentation/96134 "2022-09-08T02:48:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iteam](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/iteam/32/17249_2.png) [@iteam](https://forum.shopware.com/u/iteam)\
**Post date:** [8. September 2022 um 02:48 UTC](https://forum.shopware.com/t/bug-in-the-documentation/96134/1 "2022-09-08T02:48:00Z")

</div>

I hope this is the right section to report documentation bugs…?

In the documentation for [Add Data to Storefront](https://developer.shopware.com/docs/guides/plugins/plugins/storefront/add-data-to-storefront-page) you are showing a ProductCountRoute() class.  
Three bugs in the load() function of the class:

1. criteria rather then $criteria
2. $event object not initalized
3. $context object passed but not used  
I guess $context should replace $event but have not tried yet.
