Title: WP4.0 Update &#8211; plugin.php &#8211; Error
Last modified: August 22, 2016

---

# WP4.0 Update – plugin.php – Error

 *  Resolved [ivanjst2](https://wordpress.org/support/users/ivanjst2/)
 * (@ivanjst2)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/wp40-update-pluginphp-error/)
 * Holá world !!
    After updating to 4.0 I’m having problems on the login page … 
   While Caching Mantia active log, the problem did not happen … but when the cache
   login expirrou and had to log in again, this error is appearing on google chrome:
   PHP Warning: call_user_func_array () expects parameter 1 to be a valid callback,
   function ‘login_enqueue_scripts’ not found or invalid function name in E: \ home\
   DhhhhD5F \ site \ web \ wp-includes \ plugin.php on line 505
 * Plugin.php on line 505 are:
    call_user_func_array (the $ _ [‘function’], array_slice(
   $ args, 0, (int) the $ _ [‘accepted_args’]));
 * in internet explorer displays only error 500
 * The hosting server is windows.
    Already deactivated the plugins for database 
   but the error persists … Thank you for any help!

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/wp40-update-pluginphp-error/#post-5313338)
 * It sounds like you’re removing the function without removing the call to the 
   function.
 *  Thread Starter [ivanjst2](https://wordpress.org/support/users/ivanjst2/)
 * (@ivanjst2)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/wp40-update-pluginphp-error/#post-5313341)
 * After update PHP for PHP: versão v. 5.2
    The error is: PHP Warning: call_user_func_array()[
   [function.call-user-func-array](https://wordpress.org/support/topic/wp40-update-pluginphp-error/function.call-user-func-array?output_format=md)]:
   First argument is expected to be a valid callback, ‘login_enqueue_scripts’ was
   given in E:\home\…
 * I found people with the same problem, but related to plugins … What did was solved
   by removing the plugins, but in my case not solved …
 * But I do not know if it is related to the hosting server, because as I have no
   money, is staying in cheap server that accepts only 10 MB for unpacking the package
   and drops the connection sometimes … It begins with the letters “U” and in Brazil,
   if uninstall everything to install again it will take almost a whole day 😀
 * I need to create new posts … :/
 *  Thread Starter [ivanjst2](https://wordpress.org/support/users/ivanjst2/)
 * (@ivanjst2)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/wp40-update-pluginphp-error/#post-5313441)
 * Hello World!
    After editing the functions.php for the content of a previous version
   of wordpress, gone and got the error log. Actually I never imagined it would 
   work … and why have not tried before… After logging in I reeditei again to version
   4.0. So I’ll have time to check where the error was in the file.
 * Thanks wordpress for making life easier for bloggers. 🙂
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/wp40-update-pluginphp-error/#post-5313443)
 * Glad you got it sorted 🙂

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

The topic ‘WP4.0 Update – plugin.php – Error’ is closed to new replies.

## Tags

 * [call_user_func_array](https://wordpress.org/support/topic-tag/call_user_func_array/)
 * [plugin.php](https://wordpress.org/support/topic-tag/plugin-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/wp40-update-pluginphp-error/#post-5313443)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
