Title: Error message Deprecated: Theme without header.php is deprecated
Last modified: August 22, 2022

---

# Error message Deprecated: Theme without header.php is deprecated

 *  [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * (@hsellergren)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/)
 * Hi, We are using the WP Twenty Twenty Two theme and on the single event page 
   we get this error message: “Deprecated: Theme without header.php is deprecated
   since version 3.0.0 with no alternative available. Please include a header.php
   template in your theme.” Same error message at the bottom for footer.php. Twenty
   Twenty Two is a block theme so might be due to this? I have tested with different
   templates under ‘Select Events Page Template’, but same result. Any suggested
   solution or work around? [https://nyweb.vkrk.se/kalender/ridtavling-extern/](https://nyweb.vkrk.se/kalender/ridtavling-extern/)
   Thanks

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

 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-15939899)
 * Hello,
    I am going to contact Ashan about this issue. He’ll get back to you ASAP.
 *  Plugin Author [Ashan Perera](https://wordpress.org/support/users/ashanjay/)
 * (@ashanjay)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-15943769)
 * Thank you very much for reporting this to us. This is basically caused by the
   new block based themes which no longer support header.php and footer.php because
   they render direct html.
 * We are working on finding a solution that will allow event single page. Will 
   release a new version as soon as we can resolve this!
 *  Thread Starter [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * (@hsellergren)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-15944156)
 * Thanks, so for now it won’t help if we buy the Pro version? Maybe you can solve
   it by creating a shortcode for Single event page as well? Then you could potentially
   add this to a page and in the plugins settings choose this page as the Single
   Event pages “template”. This way you could potentially also add blocks before
   or after the shortcode if you want to display additional blocks.
    Pls post here
   if possible when you have found a solution. 👍
 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-15948654)
 * EventON Lite already has Single Event shortcode:
 * [add_single_eventon id=”EVENT_ID”]
 *  Thread Starter [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * (@hsellergren)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-15948715)
 * Thanks, but this does not work if you click an event in a list view for example?
   
   We need of course to all event pages to work.
 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-15952246)
 * Please wait for a solution from Ashan.
 * Please also note that you can hide warnings by following [https://docs.myeventon.com/documentations/how-to-debug-for-php-code-errors/](https://docs.myeventon.com/documentations/how-to-debug-for-php-code-errors/)
 * Just add define(‘WP_DEBUG_DISPLAY’, false); to wp-config.php.
 *  Thread Starter [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * (@hsellergren)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-15993519)
 * Hi, any update on this please? We hade hidden the error message but we have no
   header or footer including having no menu of course.
    Thanks
 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16000893)
 * Hello,
    Unfortunately, we are still working on fixing this.
 *  Thread Starter [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * (@hsellergren)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16108884)
 * Hi, any update? The plugin works for the other views so only the Single Post/
   Event page. Would very much appreciete a soulution for this. Thanks
 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16174236)
 * No updates on this one, I am afraid.
 *  Plugin Author [Ashan Perera](https://wordpress.org/support/users/ashanjay/)
 * (@ashanjay)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16229222)
 * Hi so with version 2.0 you should not get those errors. We are still working 
   on adding full Block theme support.
 *  Thread Starter [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * (@hsellergren)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16230718)
 * Thanks, although still get the error message on my site running 2022 Theme:
    
   [https://nyweb.vkrk.se/kalender/ridtavling/](https://nyweb.vkrk.se/kalender/ridtavling/)
 *  Plugin Support [ArtemSupport](https://wordpress.org/support/users/artemsupport/)
 * (@artemsupport)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16232292)
 * The link redirects to 404 error page. Could you check?
 *  Thread Starter [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * (@hsellergren)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16259430)
 * Strange, I see this page:
    [https://drive.google.com/file/d/1oHQFxYeiiTW5Hj9HdOjsszy0Cm_Sdcrd/view?usp=share_link](https://drive.google.com/file/d/1oHQFxYeiiTW5Hj9HdOjsszy0Cm_Sdcrd/view?usp=share_link)

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

The topic ‘Error message Deprecated: Theme without header.php is deprecated’ is 
closed to new replies.

 * ![](https://ps.w.org/eventon-lite/assets/icon-256x256.png?rev=2820760)
 * [EventON - Events Calendar](https://wordpress.org/plugins/eventon-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eventon-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eventon-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/eventon-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eventon-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eventon-lite/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [error message](https://wordpress.org/support/topic-tag/error-message/)

 * 14 replies
 * 3 participants
 * Last reply from: [hsellergren](https://wordpress.org/support/users/hsellergren/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/error-message-deprecated-theme-without-header-php-is-deprecated/#post-16259430)
 * Status: not resolved