<p>This error indicates that you don't have a matrix block, called header, setup in the CMS, but your template is expecting one.</p>

<p>The solution is to create a new matrix field;</p>

<p>settings > fields > new field.</p>

<p>The field type should be “matrix” and it's handle needs to be “header”.</p>

CC BY-SA 4.0
2018-12-18T13:30:07.273Z
2018-12-18T13:30:07.273Z
Seth Warburton
<p>Internal Server Error
Craft\MatrixBlockModel and its behaviors do not have a method or closure named "header".</p>

<p>Apache Version  2.4.37
PHP Version 7.1.24
MySQL Version   5.7.24
Architecture    x86_64
Operating System    Linux Cent OS</p>

<configuration>
After migrating, I am getting this error for several of my buttons and menus on Craft 2.6
# After migrating, I am getting this error for several of my buttons and menus on Craft 2.6

(Asked by: username_0 on 2018-12-17)

Internal Server Error
Craft\MatrixBlockModel and its behaviors do not have a method or closure named "header".

Apache Version 2.4.37
PHP Version 7.1.24
MySQL Version 5.7.24
Architecture x86\_64
Operating System Linux Cent OS

**Tags:** configuration

---

## 1 answers

### Answer by username_1 on 2018-12-18. Score: 1

This error indicates that you don't have a matrix block, called header, setup in the CMS, but your template is expecting one.

The solution is to create a new matrix field;

settings > fields > new field.

The field type should be “matrix” and it's handle needs to be “header”.


---

