Thanks for reporting. I’ve just confirmed this myself. Without checking the Flamingo source code, I think it messes with a global variable, and in turn fails when other plugins access that variable. A quick Google search shows that quite a few plugins have this same issue when used along Flamingo.
I have changed CNC’s usage of that variable, which in turn makes Flamingo happy again.
If you’d like to confirm the fix, you can replace the function “manage_admin_views” in /includes/class-cnc-logger.php with this:
public function manage_admin_views() {
$post_type = '';
if( isset( $_GET['post'] ) && ! empty( $_GET['post'] ) ) {
$post_id = intval( $_GET['post'] );
$post_type = get_post_type( $post_id );
}
if( isset( $_GET['post_type'] ) && ! empty( $_GET['post_type'] ) ) {
$post_type = $_GET['post_type'];
}
if( 'cookie_consent' == $post_type ) {
// Posts list: remove Quick Edit, remove Edit, add View
add_filter( 'post_row_actions', array( $this, 'consent_post_row_actions' ), 10, 2 );
// Bulk actions: Remove Edit
add_filter( 'bulk_actions-edit-cookie_consent', array( $this, 'consent_bulk_actions' ) );
// Restore from trash: set status to publish
add_action( 'transition_post_status', array( $this, 'consent_untrash_status' ), 10, 3 );
// View screen: Allow only 1-column layout
add_action( 'in_admin_header', array( $this, 'consent_screen_layout' ) );
// View screen: Inject js to set title to readonly
add_action( 'edit_form_after_title', array( $this, 'consent_title_js' ), 100 );
// View screen: Remove default meta boxes, add consent data
add_action( 'add_meta_boxes', array( $this, 'consent_meta_boxes' ) );
}
}
If testing goes alright, I will include this change in the next release.