Title: PHP function &#8216;test_init&#8217; not found or invalid function name
Last modified: May 19, 2019

---

# PHP function ‘test_init’ not found or invalid function name

 *  Resolved [sleeplessindc](https://wordpress.org/support/users/sleeplessindc/)
 * (@sleeplessindc)
 * [7 years ago](https://wordpress.org/support/topic/php-function-test_init-not-found-or-invalid-function-name/)
 * call_user_func_array() expects parameter 1 to be a valid callback, function ‘
   test_init’ not found or invalid function name in /wp-includes/class-wp-hook.php
   on line 286

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years ago](https://wordpress.org/support/topic/php-function-test_init-not-found-or-invalid-function-name/#post-11548280)
 * The question is what software is calling that function. Are there any more messages
   in your logs?
 * If not, please attempt to disable all plugins, and use one of the default (Twenty*)
   themes. If the problem goes away, enable them one by one to identify the source
   of your troubles.
 * If you can install plugins, install “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, **without affecting normal
   visitors to your site**. You can then use its admin bar menu to turn on/off plugins
   and themes one at a time.
 * See [http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/](http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/)

Viewing 1 replies (of 1 total)

The topic ‘PHP function ‘test_init’ not found or invalid function name’ is closed
to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/php-function-test_init-not-found-or-invalid-function-name/#post-11548280)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
