• Resolved DogGodFrogLog

    (@doggodfroglog)


    I’m seeing a small message at the bottom of the site I’m working on

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘tc_slider_adjust’ not found or invalid function name in /home/measuredmerit/public_html/wp-includes/plugin.php on line 525

    This is the code from around there.

    do {
    foreach ( (array) current($wp_filter[$tag]) as $the_ )
    if ( !is_null($the_[‘function’]) )
    call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));

    } while ( next($wp_filter[$tag]) !== false );

    array_pop($wp_current_filter);

    I’m pretty new to all this and not sure what’s going on. I think some plugin I installed/uninstalled did this? I just want to remove the error message from the footer somehow. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check your current theme’s functions.php for the following code and remove it:

    add_action ('wp_footer','tc_slider_adjust' );

    This code was required on Customizr prior v3.1.11 to center slides vertically in full width mode but has been added to the core.

    Thread Starter DogGodFrogLog

    (@doggodfroglog)

    Thanks a lot Jesin. That did the trick.

    I added additional $8 in calculate_total_shipping function and I got warning.
    So what I did basically I change code from $total = $this->calculate_base_shipping() to $total = $this->calculate_base_shipping() + 8.00.
    I found the above solution in one of the forum but I got the warning below when I updated the file

    call_user_func_array() expects parameter 1 to be a valid callback, function ‘dfcg_load_scripts_footer’ not found or invalid function name in /home2/waas7m0aald4/public_html/wp-includes/plugin.php on line 525

    Please can someone give solution to this error as soon as possible. I would really appreciate it. Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call_user_func_ error. php plugin’ is closed to new replies.