Title: valid callback error
Last modified: December 21, 2016

---

# valid callback error

 *  Resolved [rboulet](https://wordpress.org/support/users/rboulet/)
 * (@rboulet)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/valid-callback-error/)
 * Started getting the following error as of yesterday:
 * [20-Dec-2016 15:54:12 UTC] PHP Warning: call_user_func_array() expects parameter
   1 to be a valid callback, class ‘Media_Credit_Admin’ does not have a method ‘
   enqueue_media_credit_scripts’ in /wp-includes/class-wp-hook.php on line 298
 * I updated my theme files this morning, and it looks like Yoast updated yesterday,
   but neither of those affect class-wp-hook.
 * Any ideas?

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

 *  Thread Starter [rboulet](https://wordpress.org/support/users/rboulet/)
 * (@rboulet)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/valid-callback-error/#post-8577703)
 * Correction, this has been happening on & off since at least October. Apparently
   I need to pay attention more.
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/valid-callback-error/#post-8577874)
 * Good catch. That line is in there since 3.0.0 *oops*
 * It’s only triggered when you enter the customizer. 3.1.3 will have a fix.
 *  Thread Starter [rboulet](https://wordpress.org/support/users/rboulet/)
 * (@rboulet)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/valid-callback-error/#post-8577908)
 * Thanks – I appreciate it! Any ETA?
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/valid-callback-error/#post-8577983)
 * A few minutes 😉
 *  Thread Starter [rboulet](https://wordpress.org/support/users/rboulet/)
 * (@rboulet)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/valid-callback-error/#post-8578037)
 * Now that’s what I call service – thanks pepe!

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

The topic ‘valid callback error’ is closed to new replies.

 * ![](https://ps.w.org/media-credit/assets/icon.svg?rev=2570388)
 * [Media Credit](https://wordpress.org/plugins/media-credit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-credit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-credit/)
 * [Active Topics](https://wordpress.org/support/plugin/media-credit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-credit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-credit/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [rboulet](https://wordpress.org/support/users/rboulet/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/valid-callback-error/#post-8578037)
 * Status: resolved