Answers.Body: <p>I found the solution to my Problem and hopefully this will help other people in the feature.</p>
  <p>My problem was inside my custom CP Panel indexpage twig <a href="https://i.sstatic.net/QNR1n.png" rel="nofollow noreferrer">file</a>.
  In an earlier version of Craft you could simply overwrite the <code>{% block header %}</code> and place custom action buttons for my own save and edit actions.</p>
  <p>But after a certain update the layout inside the Craft CP was reworked and this no longer worked.</p>
  <ul>
  <li>Now this is simply done by overwriting the dedicated {% block actionButtons %} to achive this goal.</li>
  </ul>
  <h3>!overwriting the {% block header %} breaks crafts elementindex view!</h3>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-07T13:46:40.903Z
Answers.LastActivityDate: 2022-10-07T13:46:40.903Z
Answers.UserDisplayName: Leonardo
Body: <p>So we had an &quot;old&quot; Craft 3.1.* instance that i needed to update. Which is now running on Craft 3.7.20.</p>
  <p>This instance does have a Module which introduces a new ElementType with its own custom CP Index Page and crud twig templates.</p>
  <p>The Problem is now that after updating, the index page is no longer loading and displaying the entries. And i only have one console error to guide me.</p>
  <p>Is there a documentation that i did not read or maybe someone has an idea where to start looking.</p>
  <ul>
  <li>[<a href="https://i.sstatic.net/QNR1n.png" rel="nofollow noreferrer">Twig Template</a>]<a href="https://i.sstatic.net/QNR1n.png" rel="nofollow noreferrer">1</a></li>
  <li>[<a href="https://i.sstatic.net/fK6So.png" rel="nofollow noreferrer">Console error</a>]<a href="https://i.sstatic.net/fK6So.png" rel="nofollow noreferrer">2</a></li>
  <li>[<a href="https://i.sstatic.net/wFxOx.png" rel="nofollow noreferrer">CP: Befor Update</a>]<a href="https://i.sstatic.net/wFxOx.png" rel="nofollow noreferrer">3</a></li>
  <li>[<a href="https://i.sstatic.net/uHbsA.png" rel="nofollow noreferrer">CP: After Update</a>]<a href="https://i.sstatic.net/uHbsA.png" rel="nofollow noreferrer">4</a></li>
  </ul>
  
Tags: <craft3><templating><elementtype><index>
Title: Custom Element Index stopped working after Update
ThreadText: # Custom Element Index stopped working after Update
  
  (Asked by: username_0 on 2022-09-09)
  
  So we had an "old" Craft 3.1.\* instance that i needed to update. Which is now running on Craft 3.7.20.
  
  This instance does have a Module which introduces a new ElementType with its own custom CP Index Page and crud twig templates.
  
  The Problem is now that after updating, the index page is no longer loading and displaying the entries. And i only have one console error to guide me.
  
  Is there a documentation that i did not read or maybe someone has an idea where to start looking.
  
  * [[Twig Template](https://i.sstatic.net/QNR1n.png)][1](https://i.sstatic.net/QNR1n.png)
  * [[Console error](https://i.sstatic.net/fK6So.png)][2](https://i.sstatic.net/fK6So.png)
  * [[CP: Befor Update](https://i.sstatic.net/wFxOx.png)][3](https://i.sstatic.net/wFxOx.png)
  * [[CP: After Update](https://i.sstatic.net/uHbsA.png)][4](https://i.sstatic.net/uHbsA.png)
  
  **Tags:** craft3, templating, elementtype, index
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-10-07. Score: 0 | Accepted answer
  
  I found the solution to my Problem and hopefully this will help other people in the feature.
  
  My problem was inside my custom CP Panel indexpage twig [file](https://i.sstatic.net/QNR1n.png).
  In an earlier version of Craft you could simply overwrite the `{% block header %}` and place custom action buttons for my own save and edit actions.
  
  But after a certain update the layout inside the Craft CP was reworked and this no longer worked.
  
  * Now this is simply done by overwriting the dedicated {% block actionButtons %} to achive this goal.
  
  ### !overwriting the {% block header %} breaks crafts elementindex view!
  
  
  ---
  
  