Grow your CSS skills. Land your dream job.

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a

  • # March 22, 2013 at 6:12 am

    I have this website running wordpress and on every page in the site i get this error

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘script_enqueuer’ was given

    The site is at [http://bochdewi.co.uk/ysgol-y-berllan-deg/](http://bochdewi.co.uk/ysgol-y-berllan-deg/ “The Website”)

    Please can someone help me sort out this problem

    # March 22, 2013 at 6:19 am

    I’d start by disabling your plugins one by one. The error is in the WP file plugin.php, which is why I suggest that.

    If I’m right, you can then decide whether you want to change plugin, or talk to the author about it. If I’m wrong we’ll see what we can dig up after that.

    # March 22, 2013 at 4:06 pm

    Specifically, somewhere in your code (the filename and line number should also be included in your error message), you’re trying to call the function `script_enqueuer`, but that function doesn’t exist (or hasn’t been loaded; at least, not by the time it’s called).

    If it’s in a plugin, you can probably find out which one fairly easily by checking which file the error is occurring in. That way, you don’t have to use trial-and-error to find it.

    # March 23, 2013 at 3:56 am

    Sorry it was my mistake i deleted that function but it was still trying to call it when it wasn’t there

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".