Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Harald

Custom Meta Filter integer php7.1

adding a custom column based on a custom meta field type integer trying to filter a range

Fatal error: Uncaught Error: [] operator not supported for strings in /WordPress/plugins/admin-columns-pro/classes/Filtering/classes/Model/Meta.php:130 Stack trace: #0 /WordPress/plugins/admin-columns-pro/classes/Filtering/classes/Model/Meta.php(158): ACP_Filtering_Model_Meta->get_filtering_vars_ranged(Array, Array) #1 /WordPress/plugins/admin-columns-pro/classes/Filtering/classes/Strategy/Comment.php(17): ACP_Filtering_Model_Meta->get_filtering_vars(Array) #2 /app/wp-includes/class-wp-hook.php(298): ACP_Filtering_Strategy_Comment->handle_filter_requests(Object(WP_Comment_Query)) #3 /app/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #4 /app/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #5 /app/wp-includes/class-wp-comment-query.php(386): do_action_ref_array('pre_get_comment...', Array) #6 /app/wp-includes/class-wp-comment-query.php(357): WP_Comment_Query->get_comments() #7 /app/wp-includes/comment.php(226): WP_Comment_Query->query(Array) #8 /app/wp-admin/includes/class-wp-comments-list-tab in /WordPress/plugins/admin-columns-pro/classes/Filtering/classes/Model/Meta.php on line 130

4 years, 3 months ago
Stefan
Developer

Hi Harald,

Thanks for the feedback. I am able to reproduce the issue in PHP 7.1.
It does not only occur for ranged filtering but also for every filter on meta value.
I’ve added an issue on our roadmap to check our plugin with PHP7.1.
You can follow this issue on github if you like:
https://github.com/codepress/admin-columns-issues/issues

4 years, 3 months ago
Stefan
Developer

This issue is fixed in Admin Columns Pro 4.0.5

4 years, 3 months ago

You must be logged in to reply to this topic.