Title: [Plugin: Testimonials Widget] Warning: call_user_func_array()   ??
Last modified: August 20, 2016

---

# [Plugin: Testimonials Widget] Warning: call_user_func_array() ??

 *  Resolved [cra2](https://wordpress.org/support/users/cra2/)
 * (@cra2)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/)
 * > Warning: call_user_func_array() [function.call-user-func-array]: First argument
   > is expected to be a valid callback, ‘Testimonials_Widget::get_testimonials_scripts’
   > was given in /home/american/public_html/wp-includes/plugin.php on line 403
 * I updated the Testimonials widget to v2.0.1 and now I see the above error message
   on my site, at the bottom just below the footer. But the Testimonials widget 
   does seem to be working.
 * Anyone know what this error is saying or how to resolve it?
 * EDIT: And now I notice that the testimonials aren’t cycling through every 10 
   seconds like they were before. The refresh interval is still set for 10 seconds,
   but the only way to see a new testimonial is via a reload of the page. Is that
   related to the error I cited above?
 * [http://wordpress.org/extend/plugins/testimonials-widget/](http://wordpress.org/extend/plugins/testimonials-widget/)

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

 *  [adwraj](https://wordpress.org/support/users/adwraj/)
 * (@adwraj)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3064836)
 * I’m having the same problem here.. Any solutions for this ?
 *  Thread Starter [cra2](https://wordpress.org/support/users/cra2/)
 * (@cra2)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3064859)
 * I posted a bounty of $10 on WP-Questions and got the following answer.
    Hope 
   it helps you. Although this doesn’t resolve the issue – we need the plugin developer
   to include a similar patch in an update.
 * > The issue is here
   > `add_action( 'wp_footer', 'Testimonials_Widget::get_testimonials_scripts', 
   > 20 );` Line 350
   > It should be
   > `add_action( 'wp_footer', array( &$this, 'Testimonials_Widget_Widget' ), 20);`
   > Thats why the error says expecting a valid callback, because the first callback
   > is wrong…
 *  [Cyndi](https://wordpress.org/support/users/cynderella/)
 * (@cynderella)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3064909)
 * I reinstalled the older version for now….thanks for looking into it!
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3064911)
 * I’m checking on this. Do you know your PHP versions?
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3064918)
 * Release 2.0.2 tries wp_footer’s add_filter differently.
 * Please let me know how it goes.
 *  Thread Starter [cra2](https://wordpress.org/support/users/cra2/)
 * (@cra2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3065046)
 * well, the solution I mentioned above worked just fine.
    Did you copy that into
   your update or did you solve it differently?
 * I’m hesitant to update since mine’s working fine now.
    Anyone tried the new 2.0.2
   solution?
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3065048)
 * I think the current release is 2.1.3 and I used a slightly different solution
   for the call back error. Others have mentioned that the fix worked.
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3065067)
 * Any luck getting testimonials widget plugin to work for you?

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

The topic ‘[Plugin: Testimonials Widget] Warning: call_user_func_array() ??’ is 
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/testimonials-widget_c56561.svg)
 * [Testimonials Widget](https://wordpress.org/plugins/testimonials-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/testimonials-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/testimonials-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/testimonials-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/testimonials-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/testimonials-widget/reviews/)

## Tags

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

 * 8 replies
 * 4 participants
 * Last reply from: [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-warning-call_user_func_array/#post-3065067)
 * Status: resolved