# Attempted to load class "ShopFinderEntity" from namespace "SwagShopFinder\\Core\\Content\\ShopFinder".

**URL:** <https://forum.shopware.com/t/attempted-to-load-class-shopfinderentity-from-namespace-swagshopfinder-core-content-shopfinder/66349>\
**Category:** Programming (EN)\
**Created:** [17. April 2020 um 16:45 UTC](https://forum.shopware.com/t/attempted-to-load-class-shopfinderentity-from-namespace-swagshopfinder-core-content-shopfinder/66349 "2020-04-17T16:45:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohsin94j](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mohsin94j](https://forum.shopware.com/u/mohsin94j)\
**Post date:** [17. April 2020 um 16:45 UTC](https://forum.shopware.com/t/attempted-to-load-class-shopfinderentity-from-namespace-swagshopfinder-core-content-shopfinder/66349/1 "2020-04-17T16:45:25Z")

</div>

Hi community!

i am following Shopware 6 developer training and and there the trainer just outputs the shops he created via API and faker. i have done the saving that&nbsp;data generated by faker&nbsp;part but somehow unable to get it dumped on storefront.

I get this error message and i am not sure how can i look deeper into it. so any ideas?&nbsp;  
&nbsp;

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/d/d138cf92df2e9c13e52f5c803ac765d934a1b1d6.png)

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [17. April 2020 um 17:06 UTC](https://forum.shopware.com/t/attempted-to-load-class-shopfinderentity-from-namespace-swagshopfinder-core-content-shopfinder/66349/2 "2020-04-17T17:06:24Z")

</div>

The given class in the definition getEntityClass does not exists

---

<div class="post-metadata">

**Author:** ![mohsin94j](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mohsin94j](https://forum.shopware.com/u/mohsin94j)\
**Post date:** [17. April 2020 um 17:31 UTC](https://forum.shopware.com/t/attempted-to-load-class-shopfinderentity-from-namespace-swagshopfinder-core-content-shopfinder/66349/3 "2020-04-17T17:31:16Z")

</div>

But i am using it here, and dumping **ShopFinderEntity::class&nbsp;** gives me this&nbsp;

```
 SwagShopFinder\Core\Content\ShopFinder\ShopFinderEntity

```

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/2/2533112c1565950c2005a6f70a240903be21a073.png)

---

<div class="post-metadata">

**Author:** ![mohsin94j](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mohsin94j](https://forum.shopware.com/u/mohsin94j)\
**Post date:** [18. April 2020 um 12:13 UTC](https://forum.shopware.com/t/attempted-to-load-class-shopfinderentity-from-namespace-swagshopfinder-core-content-shopfinder/66349/4 "2020-04-18T12:13:31Z")

</div>

Can someone please guide what could be wrong? I am new to shopware

---

<div class="post-metadata">

**Author:** ![mohsin94j](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mohsin94j](https://forum.shopware.com/u/mohsin94j)\
**Post date:** [19. April 2020 um 16:13 UTC](https://forum.shopware.com/t/attempted-to-load-class-shopfinderentity-from-namespace-swagshopfinder-core-content-shopfinder/66349/5 "2020-04-19T16:13:28Z")

</div>

Issue is resolved, the class was not able to load because i missed the „.php“ extension in the filename. It should be „ShopFinderEntity.php“
