Abandoned?
-
Is this plugin abandoned? After upgrading to PHP8 I keep getting an Uncaught TypeError: Illegal offset type in /var/www/1/72876/www/wp-content/plugins/admin-columns-for-acf-fields/acf_admin_columns.php:170
This is line 170 and onwards:if (array_key_exists($orderby, $this->admin_columns)) { // this makes sure we sort also when the custom field has never been set on some posts before $meta_query = array( 'relation' => 'OR', array('key' => $this->get_clean_column($orderby), 'compare' => 'NOT EXISTS'), // 'NOT EXISTS' needs to go first for proper sorting array('key' => $this->get_clean_column($orderby), 'compare' => 'EXISTS'), ); $query->set('meta_query', $meta_query); $query->set('orderby', 'meta_value'); }
Is there a fix to this issue. Are there any alternative plugins if this is abandoned?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Abandoned?’ is closed to new replies.