# about extending-storefront-block error

**URL:** <https://forum.shopware.com/t/about-extending-storefront-block-error/65509>\
**Category:** Programming (EN)\
**Created:** [15. März 2020 um 02:44 UTC](https://forum.shopware.com/t/about-extending-storefront-block-error/65509 "2020-03-15T02:44:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![langziyang](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@langziyang](https://forum.shopware.com/u/langziyang)\
**Post date:** [15. März 2020 um 02:44 UTC](https://forum.shopware.com/t/about-extending-storefront-block-error/65509/1 "2020-03-15T02:44:23Z")

</div>

i use console create plugin:&nbsp; &nbsp;php bin/console plugin:create PluginQuickStart

and follow&nbsp;[https://docs.shopware.com/en/shopware-platform-dev-en/how-to/extending-storefront-block](https://docs.shopware.com/en/shopware-platform-dev-en/how-to/extending-storefront-block)

create&nbsp; &nbsp; &nbsp;custom/plugins/PluginQuickStart/src/Resources/views/storefront/layout/header/logo.html.twig&nbsp; file

the file code is:

```
{% sw_extends '@Storefront/storefront/layout/header/logo.html.twig' %}

{% block layout_header_logo_link %}
    Hello world!
{% endblock %}

```

when i refresh home page, i get the error:Unfortunately, something went wrong.can tell me why and how fix it

---

<div class="post-metadata">

**Author:** ![langziyang](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@langziyang](https://forum.shopware.com/u/langziyang)\
**Post date:** [15. März 2020 um 02:57 UTC](https://forum.shopware.com/t/about-extending-storefront-block-error/65509/2 "2020-03-15T02:57:58Z")

</div>

ok,i find it.composer.json file need add:

```
 "require": { "shopware/core": "\*" },
```
