Title: Error: Call_user_func_array?
Last modified: August 20, 2016

---

# Error: Call_user_func_array?

 *  Resolved [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * (@novascotiaguy)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/)
 * Glad to find this new plug-in – lots of potential!
 * I am getting this error across top of my screen: <<<b>Warning</b>: call_user_func_array()
   expects parameter 1 to be a valid callback, class ‘Yop_Poll_Public_Admin’ does
   not have a method ‘do_shortcode’ in …>>>
 * Is this a theme issue? A class has to be added to css in the theme?
 * [http://wordpress.org/extend/plugins/yop-poll/](http://wordpress.org/extend/plugins/yop-poll/)

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

 *  Thread Starter [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * (@novascotiaguy)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193169)
 * Deleted $this->add_filter( ‘widget_text’, ‘do_shortcode’); from public-admin.
   php The script has now gone off front header of site but no idea if this will
   hinder the program.
 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193213)
 * Hey NovaScotiaGuy
 * Thank you for giving our plugin a try.
 * Can you give us more details on the problem you are facing?
    Did the error showed
   up right after the install?
 * Looking forward for your reply.
    YOP Team
 *  Thread Starter [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * (@novascotiaguy)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193214)
 * An error message popped up underneath the head banner of our site as soon as 
   it was activated:
 *  <b>Warning</b>: call_user_func_array() expects parameter 1 to be a valid callback,
   class ‘Yop_Poll_Public_Admin’ does not have a method ‘do_shortcode’ in <b>/home/
   atlanti2/public_html/wp-includes/plugin.php</b> on line <b>170</b>
    <div class
   =”social_media_top widget_text substitute_widget_class”> <div class=”textwidget”
   ></div> </div>
 * It showed at the same place as vr-visitas media area stats but don’t know if 
   that has any meaning.
 * I thought I might have to cut and paste a class from Yop plug-in into theme (
   U-design) area. However I went to public-admin.php of Yop plugin and deleted
   
   $this->add_filter( ‘widget_text’, ‘do_shortcode’);
 * It seems to be working with that deletion but I do not know if there will be 
   problems elsewhere because of that.
 * No problem visible yet due to deletion of line.
 * Like this program, have messed with many many plugins and also trying to paste
   outside WP php scripts for few weeks. Thanks, good luck with the plugin.
 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193221)
 * We have just released a new version that should fix the issue you are experiencing.
 * Please update to the latest version and let us know if you still encounter any
   problems.
 * Thank you
    YOP Team
 *  Thread Starter [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * (@novascotiaguy)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193225)
 * It now does this:
 * <b>Warning</b>: Missing argument 1 for do_shortcode(), called in /home/atlanti2/
   public_html/wp-content/plugins/yop-poll/inc/public-admin.php on line 11 and defined
   in <b>/home/atlanti2/public_html/wp-includes/shortcodes.php</b> on line <b>144
   </b>
    <
 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193240)
 * Hey NovaScotiaGuy
 * We have just released a new version that should fix the issue you are experiencing.
 * Please update to the latest version and let us know if you still encounter any
   problems.
 * Thank you
    YOP Team
 *  Thread Starter [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * (@novascotiaguy)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193241)
 * No error messages now. However – a widget no longer works – a text widget used
   as spacer to move statistics down below our logo in the top area social media
   section.
 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193242)
 * Could you send us the link to your blog so we can take a look?
 * Eventually, you can email us the link at support[a!t}yourownprogrammer.com.
 * Thank you.
    YOP Team
 *  Thread Starter [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * (@novascotiaguy)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193262)
 * We sent an email link twice to support[a!t}yourownprogrammer.com. “Resolved” 
   notice has since popped up without any investigation or solving of problem. Perhaps
   mail is going to junk bins.
 * To re-introduce problem – plugin is forcing stats in site media area to go to
   far top of page – nulling widgets used as spacers.
 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193267)
 * Hey NovaScotiaGuy
 * I am sorry about this. It looks like your emails ended up in junk folder.
 * I now see your emails and will address this shortly.
 * Thank you.
    YOP Team
 *  Thread Starter [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * (@novascotiaguy)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193274)
 * Thanks – new update has fixed problem!

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

The topic ‘Error: Call_user_func_array?’ is closed to new replies.

 * ![](https://ps.w.org/yop-poll/assets/icon-256x256.png?rev=3524390)
 * [YOP Poll](https://wordpress.org/plugins/yop-poll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yop-poll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yop-poll/)
 * [Active Topics](https://wordpress.org/support/plugin/yop-poll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yop-poll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yop-poll/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [NovaScotiaGuy](https://wordpress.org/support/users/novascotiaguy/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/error-call_user_func_array-2/#post-3193274)
 * Status: resolved