Title: call_user_func_array() Error
Last modified: August 31, 2016

---

# call_user_func_array() Error

 *  [CalvT](https://wordpress.org/support/users/calvt/)
 * (@calvt)
 * [10 years ago](https://wordpress.org/support/topic/call_user_func_array-error-4/)
 * On enabling Hammy I get the following errors:
 *     ```
       Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'hammy_add_page' not found or invalid function name in /home/user/public_html/wp/wp-includes/plugin.php on line 525
   
       Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'hammy_options_init' not found or invalid function name in /home/user/public_html/wp/wp-includes/plugin.php on line 525
       ```
   
 * Anybody know why?
 * [https://wordpress.org/plugins/hammy/](https://wordpress.org/plugins/hammy/)

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

 *  [Jason Judge](https://wordpress.org/support/users/judgej/)
 * (@judgej)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/call_user_func_array-error-4/#post-8225739)
 * I am getting this too. Filling up the error logs like this is not something a
   site should have to deal with. Also affects the admin pages:
 * [Tue Sep 27 12:25:10 2016] [warn] [client a.b.c.d] mod_fcgid: stderr: PHP Warning:
   call_user_func_array() expects parameter 1 to be a valid callback, function ‘
   hammy_options_init’ not found or invalid function name in /var/www/vhosts/…/httpdocs/
   wp-includes/plugin.php on line 524, referer: [https://example.com/wp-admin/](https://example.com/wp-admin/)
 *  [Jason Judge](https://wordpress.org/support/users/judgej/)
 * (@judgej)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/call_user_func_array-error-4/#post-8225746)
 * Since it does not look like this plugin is maintained any more, we are going 
   to remove it and use an alternative. So I won’t be following this one up. Good
   luck!
 *  Thread Starter [CalvT](https://wordpress.org/support/users/calvt/)
 * (@calvt)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/call_user_func_array-error-4/#post-8226958)
 * Hi Jason
 * Care to specify what that alternative is? So people reading this thread may be
   able to resolve their issues by using this other plugin.
 * Thanks
 *  [marketing2](https://wordpress.org/support/users/marketing2/)
 * (@marketing2)
 * [9 years ago](https://wordpress.org/support/topic/call_user_func_array-error-4/#post-9161271)
 * I would also be interested in which alternative you used because this is the 
   only plugin I have ever found that can actually serve scaled images on my website.

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

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

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

 * 4 replies
 * 3 participants
 * Last reply from: [marketing2](https://wordpress.org/support/users/marketing2/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/call_user_func_array-error-4/#post-9161271)
 * Status: not resolved