Custom status invalid argument / PHP error
-
Hello,
Thanks for this plug-in. I’m using it for the module “custom status”. It works well, but on my post list (wp-admin/edit.php), I get a PHP Warning with Query Monitor :
Level : Warning
Message : Invalid argument supplied for foreach()
Count : 20
Location : wp-content/plugins/edit-flow/modules/custom-status/custom-status.php:756 EF_Custom_Status->check_if_post_state_is_status() wp-includes/class-wp-hook.php:288 apply_filters('display_post_states') wp-admin/includes/template.php:2168 get_post_states() wp-admin/includes/template.php:2077 _post_states() wp-admin/includes/class-wp-posts-list-table.php:1033 WP_Posts_List_Table->column_title() wp-admin/includes/class-wp-posts-list-table.php:955 WP_Posts_List_Table->_column_title() wp-admin/includes/class-wp-list-table.php:1352 WP_List_Table->single_row_columns() wp-admin/includes/class-wp-posts-list-table.php:1298 WP_Posts_List_Table->single_row() wp-admin/includes/class-wp-posts-list-table.php:741 WP_Posts_List_Table->_display_rows() wp-admin/includes/class-wp-posts-list-table.php:718 WP_Posts_List_Table->display_rows() wp-admin/includes/class-wp-list-table.php:1273 WP_List_Table->display_rows_or_placeholder() wp-admin/includes/class-wp-list-table.php:1204 WP_List_Table->display() wp-admin/edit.php:433
Component : Plugin: edit-flow
I’m using PHP 7.3.12
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Custom status invalid argument / PHP error’ is closed to new replies.