• Resolved muhammadwaqas

    (@muhammadwaqas)


    Just installed the fresh copy of wordpress. Im getting this error in admin panel.

    I tried to replace thhe plugin.php but nothing happened

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘dpbc’ was given in /home/buswar/public_html/mysite.com/wp-includes/plugin.php on line 403

    Im using the same theme, same settings, I’ve tried with deactivating plugins, activating all with same settings. but nothing is happening. the error remains there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter muhammadwaqas

    (@muhammadwaqas)

    I was because of an incomplete function in theme file function.php

    what actually happened? I added a function and later removed that but not complete. the following part was left unremoved

    add_action('admin_footer', 'dpbc');

    so I you also watching the similar errors on your admin footer. try finding incomplete function.

    Turn off all the plugins and use one of the bundled themes. If that error still shows up then there is something wrong with the WordPress install.

    Once the notice goes away, turn on the theme you are using and see if it comes back. Repeat for the plugins.

    That means that when plugin.php is using the call_user_func_array() it expects to be able to call another function (that is what the PHP function does). It can’t find that other function so you get an error.

    It could be that you have a partial plugin download even. So it’s looking for a function and it’s in a file you’re missing. Same could go for the theme, or really for the WordPress install, but I would put my money on the theme or plugins.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error: plugin.php on line 403’ is closed to new replies.