Title: php error
Last modified: July 21, 2021

---

# php error

 *  [Hrohh](https://wordpress.org/support/users/hrohh/)
 * (@hrohh)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-error-474/)
 * [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 931
 * solution
    post-state-tags.php line #931 public function manage_post_columns( 
   $post_columns, $post_type = ” ) {

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [app103](https://wordpress.org/support/users/app103/)
 * (@app103)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-error-474/#post-14918494)
 * I can confirm that this modification does fix the issue I was having with the
   WP post editor not loading, when this plugin is activated. Please consider updating
   your plugin with this change.
 *  Plugin Author [John Brand](https://wordpress.org/support/users/brandbrilliance/)
 * (@brandbrilliance)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-error-474/#post-14919660)
 * I’ve corrected this error.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘php error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-state-tags_f7f6f4.svg)
 * [Post State Tags](https://wordpress.org/plugins/post-state-tags/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-state-tags/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-state-tags/)
 * [Active Topics](https://wordpress.org/support/plugin/post-state-tags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-state-tags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-state-tags/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [John Brand](https://wordpress.org/support/users/brandbrilliance/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/php-error-474/#post-14919660)
 * Status: not resolved