Title: Fatal Error
Last modified: August 19, 2016

---

# Fatal Error

 *  Resolved [Ypanesa](https://wordpress.org/support/users/ypanesa/)
 * (@ypanesa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/)
 * Since a few hours I get a fatal error, when I try to open a category on the right
   side of my site [http://gifwelt.info](http://gifwelt.info). There are the gifs.
   I geht a fatal error.
 * Fatal error: Call to undefined function dkret_entry_header() in /kunden/xxxxxx_xxxx/
   gifwelt2/wp-content/themes/dkret3/category.php on line 51
 * What I did just before. I changed all tags h2 to h1. I did not change anything
   else.
 * When I puttet line 51 in comments, I got the fatal error at the end of the page:
 * Fatal error: Call to undefined function dkret_entry_footer() in /kunden/152336_4153/
   gifwelt2/wp-content/themes/dkret3/category.php on line 89
 * I have other sites whit the dKret3 theme and non of them has a category.php. 
   I try very hard in a forum and with my weghost support to find a solution. No
   way. Can you please help me?

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854846)
 * I’m not finding a call for dkret_entry_header() anywhere inside the dkret3 theme,
   hrm.
 * My suggestion would be to remove the offending theme and add a fresh theme back
   up there.
 * *also* do you have any [older] versions of the dkret3 theme in your themes/ folder?
   If you do, move those older versions someplace else besides the theme directory
 *  Thread Starter [Ypanesa](https://wordpress.org/support/users/ypanesa/)
 * (@ypanesa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854849)
 * I do have backups. I have no clue how to move it to the existing theme for testing.
   I have wp-content > themes > dkret3 and wp-content > themes > my-dkret3. Shall
   I move these two folders completely after renaming the activ folders?
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854852)
 * Yes, I would rename those two folders to like dkret3-old and my-dkret3-old
 * then install dkret3 back into the wp-content/themes folder by itself, not having
   any other duplicate themes in there
 * What I have seen is that if more then one theme in the wp-content/themes directory
   shares the same name:
 * Theme Name: dkret3
 * that it can cause effects with wordpress not getting the right place to pull 
   the information from.
 * The first thing I would check is “move” the theme you don’t use out of the wp-
   content/themes, like if you use dkret3 but not my-dkret3 I would move the my-
   dkret3 out of the themes folder, leaving dkret3 in there alone and then see if
   the error comes up
 *  Thread Starter [Ypanesa](https://wordpress.org/support/users/ypanesa/)
 * (@ypanesa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854857)
 * I renamed the folders and uploaded the two backup folders. No result, the same
   fatal error. The panic raises…
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854858)
 * … you need to move those folders out of the theme directory. Again, only one 
   dkret theme in the wp-content/themes directory at a time
 *  Thread Starter [Ypanesa](https://wordpress.org/support/users/ypanesa/)
 * (@ypanesa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854862)
 * No change: [http://gifwelt.info/animierte/erde/](http://gifwelt.info/animierte/erde/)
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854868)
 * and you still say: /wp-content/themes/dkret3/category.php that file doesn’t exist,
   at all?
 *  Thread Starter [Ypanesa](https://wordpress.org/support/users/ypanesa/)
 * (@ypanesa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854873)
 * Of course this file exists. It exists only in this site. I do have 2 other sites
   with the same theme and this file doesn’t exists there. This file ask in line
   51 for the function dkret_entry_header() which doesn’t seem to exist.
 *     ```
       <div class="entry-header">
       <?php dkret_entry_header() ?>
       </div>
       ```
   
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854876)
 * Your my-dkret3 is a child theme, while dkret3 is a parent theme, i downloaded
   the latest from here [http://wordpress.org/extend/themes/dkret3](http://wordpress.org/extend/themes/dkret3)
   and it doesn’t have that function either,
 * HOWEVER, Older dkret3 themes used to have that function as seen here:
 * [http://code.google.com/p/dkret-theme/source/browse/trunk/library/extensions/hooks-filters.php?r=287](http://code.google.com/p/dkret-theme/source/browse/trunk/library/extensions/hooks-filters.php?r=287)
 * which doesn’t appear to be in the theme anymore
 * In your category.php file I would actually do this:
 *     ```
       <div class="entry-header">
       <?php do_action('dkret_entry_header'); ?>
       </div>
       ```
   
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854878)
 * You should now do the same with dkret_navigation_below
 * `<?php do_action('dkret_navigation_below'); ?>`
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854879)
 * and
 * `<?php do_action('dkret_entry_footer'); ?>`
 *  Thread Starter [Ypanesa](https://wordpress.org/support/users/ypanesa/)
 * (@ypanesa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854883)
 * You did it! I’m so happy, thank you so much! Can you explain the difference between
   do_action and the direct call before?
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854885)
 * If you look here:
    [http://code.google.com/p/dkret-theme/source/browse/trunk/library/extensions/hooks-filters.php?r=287](http://code.google.com/p/dkret-theme/source/browse/trunk/library/extensions/hooks-filters.php?r=287)
 * The older version of dkret was using a function to call the hook anyways, doing
   the exact same thing but adding another step by making it a function.
 * SO we just killed the middleman function call and just hit up the action instead.
 * Mind you in the new version of dkret3 I didn’t see anything that used those hooks,
   but /shrug it works right?
 *  Thread Starter [Ypanesa](https://wordpress.org/support/users/ypanesa/)
 * (@ypanesa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854889)
 * Yesss!
 * I thought I use an actual version of dKret. I always take care to update anything(
   maybe too much).
 * Your website is interesting. I shurely will pass some hours there 🙂
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854900)
 * Thanks 😉 Although it caters mainly to the things I work on primarily and most
   of it probably would not be relative to you, it does however have some good idea’s
   in it.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Fatal Error’ is closed to new replies.

 * 15 replies
 * 2 participants
 * Last reply from: [Frumph](https://wordpress.org/support/users/frumph/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-245/#post-1854900)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
