Forums

Page Excerpt
PHP Warning on version 1.1 (2 posts)

  1. daveshine (David Decker)
    Member
    Posted 1 year ago #

    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.

  2. Redefine
    Member
    Posted 8 months ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic