# After extending Emotion Component Template, function call results in an Internal Server Error 500

**URL:** <https://forum.shopware.com/t/after-extending-emotion-component-template-function-call-results-in-an-internal-server-error-500/53591>\
**Category:** International (English Only)\
**Created:** [20. Juni 2018 um 06:48 UTC](https://forum.shopware.com/t/after-extending-emotion-component-template-function-call-results-in-an-internal-server-error-500/53591 "2018-06-20T06:48:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)\
**Post date:** [20. Juni 2018 um 06:48 UTC](https://forum.shopware.com/t/after-extending-emotion-component-template-function-call-results-in-an-internal-server-error-500/53591/1 "2018-06-20T06:48:58Z")

</div>

Hello,

I am extending component\_manufacturer\_slider in order to replace the href attribute of each manufacturer element.

When I call public functions of attribute struct on supplier it results in a server erro 500.

Both {$supplier.attributes.core-\>toArray()|var\_dump} and&nbsp;{$supplier.attributes.core-\>get(“my\_attribute\_name”)|var\_dump} result in error and do not return what I want.

Any suggestions on how to access protected storage object array values? as the typical get does not work for an unknown reason to me.

&nbsp;
