警告:call_user_func_array()
要求参数1为有效回调,类“Wppr\\u Public”在/home1/thrfolde/Public\\u html/3foldtraining/wp includes/class wp hook中没有方法“amp\\u support”。php在线288
如何解决此错误?
https://3foldtraining.com/ - 在顶部标题上(如果双击黑条,可以看到该错误)
// Avoid the array_slice if possible.
if ( $the_[\'accepted_args\'] == 0 ) {
$value = call_user_func_array( $the_[\'function\'], array() );
} elseif ( $the_[\'accepted_args\'] >= $num_args ) {
$value = call_user_func_array( $the_[\'function\'], $args );
} else {
$value = call_user_func_array( $the_[\'function\'], array_slice( $args, 0, (int)$the_[\'accepted_args\'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
$this->nesting_level--;
return $value;
}