• Hi WP wizards,

    I have bumped into this issue when deploying a website copy from one remote server to another remote server for DEV purposes. The deployment itself was successful but when the website does not load and shows the following error on the top of the page. Part of the page is loaded though – main menu and logo.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/mydomain/public_html/mmt_dev/wp-includes/plugin.php on line 199
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/mydomain/public_html/mmt_dev/wp-includes/plugin.php on line 199
    class="home page page-id-21 page-template page-template-full-width-php logged-in light ">

    I’ve tried searching for a solution, but without success… Just figured out that replacing plugins folder with an empty one does not help, and switching to another WP theme through admin panel fixes the issue. But I need to make it work on my WP theme.

    Could anyone help fixing it?

    More info:
    I used Duplicator plugin to fetch a copy of the whole website and DB and then successfully deployed it to another server.
    After an identical deployment procedure to my local machine, the website works perfectly.

  • The topic ‘Warning: call_user_func_array() in plugin.php’ is closed to new replies.