Title: Help : Notice: Function add_theme_support( &#8216;html5&#8217; ) was called incorrectly
Last modified: June 17, 2023

---

# Help : Notice: Function add_theme_support( ‘html5’ ) was called incorrectly

 *  [basils57](https://wordpress.org/support/users/basils57/)
 * (@basils57)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/help-notice-function-add_theme_support-html5-was-called-incorrectly/)
 * Hi
 * I am a novice to WordPress and have found that I’m unable to access my site, 
   other than get presented with this message, which I don’t understand at all.
 * **Notice**: Function add_theme_support( ‘html5’ ) was called **incorrectly**.
   You need to pass an array of types. Please see Debugging in WordPress for more
   information. (This message was added in version 3.6.1.) in **/home/thefoot/public_html/
   wp-includes/functions.php** on line **5866**
 * Could someone please advise what I can do?

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [2 years, 12 months ago](https://wordpress.org/support/topic/help-notice-function-add_theme_support-html5-was-called-incorrectly/#post-16826905)
 *  This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and use one of the default (Twenty*) themes. If the problem goes away, enable
   them one by one to identify the source of your troubles.
 *  Thread Starter [basils57](https://wordpress.org/support/users/basils57/)
 * (@basils57)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/help-notice-function-add_theme_support-html5-was-called-incorrectly/#post-16828084)
 * Thanks for the prompt advice Steven, that seems to have sorted it.
 * Thanks again.

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

The topic ‘Help : Notice: Function add_theme_support( ‘html5’ ) was called incorrectly’
is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [basils57](https://wordpress.org/support/users/basils57/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/help-notice-function-add_theme_support-html5-was-called-incorrectly/#post-16828084)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
