最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Warning: call_user_func_array() problem can anyone help with it?

programmeradmin0浏览0评论

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'WP_Block_Supports' not found in /home/vol6_3/unaux/unaux_26684289/htdocs/wp-includes/class-wp-hook.php on line 287

Fatal error: Uncaught Error: Call to undefined function is_gd_image() in /home/vol6_3/unaux/unaux_26684289/htdocs/wp-includes/class-wp-image-editor-gd.php:104 Stack trace: #0 /home/vol6_3/unaux/unaux_26684289/htdocs/wp-includes/media.php(3558): WP_Image_Editor_GD->load() #1 /home/vol6_3/unaux/unaux_26684289/htdocs/wp-content/plugins/instagram-feed/inc/class-sb-instagram-gdpr-integrations.php(111): wp_get_image_editor('http://nischalk...') #2 /home/vol6_3/unaux/unaux_26684289/htdocs/wp-content/plugins/instagram-feed/instagram-feed.php(550): SB_Instagram_GDPR_Integrations::gdpr_tests_successful(true) #3 /home/vol6_3/unaux/unaux_26684289/htdocs/wp-includes/class-wp-hook.php(287): sbi_check_for_db_updates('') #4 /home/vol6_3/unaux/unaux_26684289/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #5 /home/vol6_3/unaux/unaux_26684289/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #6 /home/vol6_3/unaux/unaux_26684289/htdocs/wp-settings.php(568): do_action in /home/vol6_3/unaux/unaux_26684289/htdocs/wp-includes/class-wp-image-editor-gd.php on line 104
There has been a critical error on this website.

Learn more about debugging in WordPress.

And when I follow that location and delete line 287 it says this site is not working right now. Here is the code of that location.

// Avoid the array_slice() if possible.
                if ( 0 == $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } 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 ] ) );
发布评论

评论列表(0)

  1. 暂无评论