Title: PHP Warning: call_user_func() in shortcodes.php
Last modified: August 21, 2016

---

# PHP Warning: call_user_func() in shortcodes.php

 *  [borreicho](https://wordpress.org/support/users/borreicho/)
 * (@borreicho)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-e-shortcodesphp/)
 * Hi. I keep getting this error. It’s not new, it has occured with previous WordPress
   versions.
 * `PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no
   array or string given in /home/tvdepend/public_html/wp-includes/shortcodes.php
   on line 287`
 * `PHP Warning: call_user_func() expects parameter 1 to be a valid callback, no
   array or string given in /home/tvdepend/public_html/wp-includes/shortcodes.php
   on line 273`
 * How can I solve this?
    Thanks.

Viewing 1 replies (of 1 total)

 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-e-shortcodesphp/#post-4927110)
 * You can hide it by setting WP_DEBUG to FALSE in wp-config.php
 * To figure out what is causing it will be more difficult. You would have to go
   through all your Plugins and your Theme to see which one is at fault. Typically,
   by deactivating all plugins, and then activating them one by one. And switching
   Themes temporarily.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: call_user_func() in shortcodes.php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [jon](https://wordpress.org/support/users/adiant/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/error-e-shortcodesphp/#post-4927110)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
