Title: PHP Warning: call_user_func_array() expects parameter 1
Last modified: August 7, 2020

---

# PHP Warning: call_user_func_array() expects parameter 1

 *  [aligulfam2020](https://wordpress.org/support/users/aligulfam2020/)
 * (@aligulfam2020)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-expects-parameter-1-2/)
 * I have updated my wordpress from 4.3 to 5.4, now from some days I am getting 
   the below error :
    PHP Warning: call_user_func_array() expects parameter 1 to
   be a valid callback, function ‘my_custom_fonts’ not found or invalid function
   name in wp-includes/class-wp-hook.php I have tried to look in class-wp-hook.php
   but does not understand what to do?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-call_user_func_array-expects-parameter-1-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘PHP Warning: call_user_func_array() expects parameter 1’ is closed to
new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentyseventeen/4.0/screenshot.
   png)
 * Twenty Seventeen
 * [Support Threads](https://wordpress.org/support/theme/twentyseventeen/)
 * [Active Topics](https://wordpress.org/support/theme/twentyseventeen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentyseventeen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentyseventeen/reviews/)

## Tags

 * [wordpress admin](https://wordpress.org/support/topic-tag/wordpress-admin/)
 * [WordPress update](https://wordpress.org/support/topic-tag/wordpress-update/)

 * 0 replies
 * 1 participant
 * Last reply from: [aligulfam2020](https://wordpress.org/support/users/aligulfam2020/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/php-warning-call_user_func_array-expects-parameter-1-2/)
 * Status: not resolved