Title: Warning: call_user_func_array()
Last modified: August 21, 2016

---

# Warning: call_user_func_array()

 *  Resolved [dzynio](https://wordpress.org/support/users/dzynio/)
 * (@dzynio)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-15/)
 * Hello. Im having problem with plugin. Yesterday i was using wordpress on local
   server and your plugin works just great. Today i moved wordpress to a live server
   and when i activated foodlist plugin i get this error:
 * Warning: call_user_func_array() [function.call-user-func-array]: First argument
   is expected to be a valid callback, ‘foodlist_lib_admin_notice_php’ was given
   in /homepages/46/d504930822/htdocs/clickandbuilds/WordPress/wallstreet1/wp-includes/
   plugin.php on line 429
 * Can you help me resolve this issue?
 * [http://wordpress.org/plugins/foodlist/](http://wordpress.org/plugins/foodlist/)

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

 *  Plugin Author [Denis V (Artprima)](https://wordpress.org/support/users/v-media/)
 * (@v-media)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-15/#post-4384435)
 * Thank you for your bug-report. I updated the plugin in svn and it should be soon
   available (version 1.3). But in your case it won’t help, because this plugin 
   requires PHP >= 5.3.0, and you have an older version (5.2). Thefore, unfortunately
   I cannot help you – you need a hosting with the newer version of PHP.
 * P.S. A lot of hostings still use PHP 5.2, but this php version has a defined 
   end-of-life on 6 Jan 2011 (and since that time no updates have been issued for
   this php branch). Therefore, I don’t see any reason to support such an old software(
   even though it is still supported by WordPress itself) in a newly written plugin.
 *  Thread Starter [dzynio](https://wordpress.org/support/users/dzynio/)
 * (@dzynio)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-15/#post-4384437)
 * thank you for your answer…i understand now. But i checked my php settings in 
   my hosting panel and i can see that i have set php 5.4 version..
 *  Thread Starter [dzynio](https://wordpress.org/support/users/dzynio/)
 * (@dzynio)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-15/#post-4384439)
 * okej i checked this again and i can see that i have 5.2 version of php but i 
   dont know why because i have set 5.4v. In that case i will contact with my hosting
   administrator 🙂

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

The topic ‘Warning: call_user_func_array()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/foodlist_a44e3b.svg)
 * [Foodlist](https://wordpress.org/plugins/foodlist/)
 * [Support Threads](https://wordpress.org/support/plugin/foodlist/)
 * [Active Topics](https://wordpress.org/support/plugin/foodlist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foodlist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foodlist/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [dzynio](https://wordpress.org/support/users/dzynio/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/warning-call_user_func_array-15/#post-4384439)
 * Status: resolved