Title: Fatal error: Call to undefined function theme_setup_data()
Last modified: June 20, 2020

---

# Fatal error: Call to undefined function theme_setup_data()

 *  Resolved [Pk](https://wordpress.org/support/users/paulka/)
 * (@paulka)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/)
 * Fatal error: Call to undefined function theme_setup_data() in /home/powerbackupsco/
   public_html/wp-content/themes/appointment-green/header.php on line 8

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

 *  [akhlesh-nagar](https://wordpress.org/support/users/akhlesh-nagar/)
 * (@akhlesh-nagar)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/#post-13012570)
 * Hi
    Sorry for your inconvenience. In our latest version 2.8.1 we have fix this
   issue. Pls update parent theme version. Let me know for further assistance.
 * Thanks
    Akhilesh
 *  Thread Starter [Pk](https://wordpress.org/support/users/paulka/)
 * (@paulka)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/#post-13027980)
 * Using the parent theme cannot even load the admin:
 *     ```
       Warning: Cannot modify header information - headers already sent by (output started at /home/-/public_html/wp-content/themes/appointment/child_theme_compatible.php:28) in /home/-/public_html/wp-includes/functions.php on line 6221
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/-/public_html/wp-content/themes/appointment/child_theme_compatible.php:28) in /home/-/public_html/wp-admin/includes/misc.php on line 1282
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/-/public_html/wp-content/themes/appointment/child_theme_compatible.php:28) in /home/-/public_html/wp-includes/pluggable.php on line 1281
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/-/public_html/wp-content/themes/appointment/child_theme_compatible.php:28) in /home/-/public_html/wp-includes/pluggable.php on line 1284
       ```
   
    -  This reply was modified 5 years, 11 months ago by [Pk](https://wordpress.org/support/users/paulka/).
 *  [akhlesh-nagar](https://wordpress.org/support/users/akhlesh-nagar/)
 * (@akhlesh-nagar)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/#post-13029580)
 * Hi
    We have checked our parent theme and appointment green. Both now working 
   well, if possible send me your admin detail and FTP detail at my email address.
 * **[akhlesh.nagar04@gmail.com](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/akhlesh.nagar04@gmail.com?output_format=md)**
 * So that we can check whats going wrong with you.
 * Thanks
    Webriti Support Staff
    -  This reply was modified 5 years, 11 months ago by [akhlesh-nagar](https://wordpress.org/support/users/akhlesh-nagar/).
 *  [akhlesh-nagar](https://wordpress.org/support/users/akhlesh-nagar/)
 * (@akhlesh-nagar)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/#post-13037241)
 * Hi [@paulka](https://wordpress.org/support/users/paulka/)
    Any update here?
 * Thanks
 *  [xotabu4](https://wordpress.org/support/users/xotabu4/)
 * (@xotabu4)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/#post-13058042)
 * Hi [@akhlesh-nagar](https://wordpress.org/support/users/akhlesh-nagar/),
    after
   updating to the latest version of your theme I’m having same issue with the: `
   Warning: Cannot modify header information - headers already sent by (output started
   at /home/-/public_html/wp-content/themes/appointment/child_theme_compatible.php:
   28) in /home/-/public_html/wp-includes/functions.php on line 6221`
 * Also slider is no longer working on the home page
 * Regards
 *  [akhlesh-nagar](https://wordpress.org/support/users/akhlesh-nagar/)
 * (@akhlesh-nagar)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/#post-13058617)
 * Hi Dear [@xotabu4](https://wordpress.org/support/users/xotabu4/)
    Sorry for your
   inconvenience. We have checked our theme at our end. child theme working well
   with appointment latest version. If you agree you can send me your WordPress 
   admin detail at my email address as mention previous comment. So that we can 
   check what’s going wrong with your end.
 * Thanks

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

The topic ‘Fatal error: Call to undefined function theme_setup_data()’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/appointment-green/1.3.9/screenshot.
   png)
 * Appointment Green
 * [Support Threads](https://wordpress.org/support/theme/appointment-green/)
 * [Active Topics](https://wordpress.org/support/theme/appointment-green/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/appointment-green/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/appointment-green/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [akhlesh-nagar](https://wordpress.org/support/users/akhlesh-nagar/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-theme_setup_data/#post-13058617)
 * Status: resolved