Title: Errors from function.php &#8211; line 916 to be exact.
Last modified: August 18, 2016

---

# Errors from function.php – line 916 to be exact.

 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-from-functionphp-line-916-to-be-exact/)
 * Hi,
 * I keep getting this same error message at the bottom of my page with certain 
   themes that are loaded on my site. It does not happen with every theme but quite
   a few all the same.
 * `Warning: Missing argument 2 for do_action() in /home/directory/public_html/shadows/
   wp-includes/functions.php on line 916`
 * I have looked at what is on line 916 in functions.php and see the following:
 * `function do_action($tag, $string) {
    apply_filters($tag, $string, false); return
   $string;
 * It is all beyond me. Does anyone else have any idea what is happening here?

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

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-from-functionphp-line-916-to-be-exact/#post-158886)
 * Well first, I’d recommend updating to the release version of 1.5. The section
   of functions.php you point out is no longer present in that form.
 *  [steelerdirtfreak](https://wordpress.org/support/users/steelerdirtfreak/)
 * (@steelerdirtfreak)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-from-functionphp-line-916-to-be-exact/#post-159028)
 * I’m getting the same error message with a lot of different themes. Somehow, it
   seems to come out to this line in the footer file:
 * `' do_action('wp_footer'); '`
 * If I take that line out, everything seems to be fine, no error messages. So what
   is it that that particular line is doing (or not doing) in the code? And, since
   everything seems to work fine without it, is it hurting anything by just deleting
   it?
 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-from-functionphp-line-916-to-be-exact/#post-159029)
 * Sounds like you don’t have the 1.5 version of functions.php. The second argument
   to do_action() is mandatory in 1.2.x but optional in 1.5.

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

The topic ‘Errors from function.php – line 916 to be exact.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/errors-from-functionphp-line-916-to-be-exact/#post-159029)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
