• There was an error that happens on our shared hosting accounts but works fine on VPS or local.

    On admin general page it gives error below

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ’emailSub_admin_general’ not found or invalid function name in /home/borantul/public_html/dion/_works/koleksiyonblog/wp-includes/plugin.php on line 470

    I thinks its something about calling a function with uppercases, not sure. But I fixed it by using the function in general.php, on the hooks in init.php instead.

    function emailsubreplacement()
    {
        return emailSub_admin_general();
    }

    https://wordpress.org/plugins/email-subscription/

  • The topic ‘Error and fix on a function call’ is closed to new replies.