Title: [Plugin: Page Excerpt] PHP Warning on version 1.1
Last modified: August 19, 2016

---

# [Plugin: Page Excerpt] PHP Warning on version 1.1

 *  [David Decker](https://wordpress.org/support/users/daveshine/)
 * (@daveshine)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-page-excerpt-php-warning-on-version-11/)
 * Hi there,
    installed the new version but gives this PHP warning: `Warning: call_user_func_array()[
   function.call-user-func-array]: First argument is expected to be a valid callback,'
   my_custom_init' was given in /my-path/wordpress/wp-includes/plugin.php on line
   395`
 * Any suggestion what to do?
 * Thanx, dave.

Viewing 1 replies (of 1 total)

 *  [Redefine](https://wordpress.org/support/users/redefine/)
 * (@redefine)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-page-excerpt-php-warning-on-version-11/#post-2008626)
 * Incase you were wondering, check your functions.php for
 * `add_action('init', 'my_custom_init');`
 * I found it in my functions.php of my theme that was being declared but no function
   associated with it.
 * Yes it’s been 6 months, but for other people too 🙂

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Page Excerpt] PHP Warning on version 1.1’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Redefine](https://wordpress.org/support/users/redefine/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-page-excerpt-php-warning-on-version-11/#post-2008626)
 * Status: not resolved