php error
-
[21-Jul-2021 12:45:17 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Post_State_Tags::manage_post_columns(), 1 passed in /www/doc/www.xxx.org/www/wordpress/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /www/doc/www.xxx.org/www/wordpress/wp-content/plugins/post-state-tags/post-state-tags.php:931
Stack trace:
#0 /www/doc/www.xxx.org/www/wordpress/wp-includes/class-wp-hook.php(287): Post_State_Tags->manage_post_columns(Array)
#1 /www/doc/www.xxx.org/www/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /www/doc/www.xxx.org/www/wordpress/wp-admin/includes/screen.php(39): apply_filters(‘manage_post_col…’, Array)
#3 /www/doc/www.xxx.org/www/wordpress/wp-admin/includes/class-wp-screen.php(995): get_column_headers(Object(WP_Screen))
#4 /www/doc/www.xxx.org/www/wordpress/wp-admin/includes/class-wp-screen.php(956): WP_Screen->show_screen_options()
#5 /www/doc/www.xxx.org/www/wordpress/wp-admin/admin-header.php(259): WP_Screen->render_screen_meta()
#6 /www/doc/w in /www/doc/www.xxx.org/www/wordpress/wp-content/plugins/post-state-tags/post-state-tags.php on line 931solution
post-state-tags.php line #931
public function manage_post_columns( $post_columns, $post_type = ” ) {
- The topic ‘php error’ is closed to new replies.