Title: Error and fix on a function call
Last modified: August 22, 2016

---

# Error and fix on a function call

 *  [borantula](https://wordpress.org/support/users/borantula/)
 * (@borantula)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-and-fix-on-a-function-call/)
 * There was an error that happens on our shared hosting accounts but works fine
   on VPS or local.
 * On admin general page it gives error below
 * >  Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   > function ’emailSub_admin_general’ not found or invalid function name in /home/
   > borantul/public_html/dion/_works/koleksiyonblog/wp-includes/plugin.php on line
   > 470
 * I thinks its something about calling a function with uppercases, not sure. But
   I fixed it by using the function in general.php, on the hooks in init.php instead.
 *     ```
       function emailsubreplacement()
       {
           return emailSub_admin_general();
       }
       ```
   
 * [https://wordpress.org/plugins/email-subscription/](https://wordpress.org/plugins/email-subscription/)

The topic ‘Error and fix on a function call’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [borantula](https://wordpress.org/support/users/borantula/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/error-and-fix-on-a-function-call/)
 * Status: not resolved