Title: Possible plugin conflict
Last modified: August 24, 2016

---

# Possible plugin conflict

 *  [aledan](https://wordpress.org/support/users/aledan/)
 * (@aledan)
 * [11 years ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/)
 * Hi.
    If CPT-onomies is installed with Enhanced Media Library Plugin([https://wordpress.org/plugins/enhanced-media-library/](https://wordpress.org/plugins/enhanced-media-library/))
   I get this error in Media Library list view (only list view, grid view work)
 * `PHP Fatal error: Call to a member function get_column_info() on a non-object
   in /Users/alessandro/Desktop/www/wordpress.dev/wp-content/plugins/cpt-onomies/
   admin.php on line 924`
 * [https://wordpress.org/plugins/cpt-onomies/](https://wordpress.org/plugins/cpt-onomies/)

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

 *  [stueynet](https://wordpress.org/support/users/stueynet/)
 * (@stueynet)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/#post-6103753)
 * +1 I get this too. Not optimal.
 *  [ash-ic](https://wordpress.org/support/users/ash-ic/)
 * (@ash-ic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/#post-6103755)
 * Yes I have this problem as well, and you don’t actually need to be using any 
   of the CPT onomies with the media library, just having it installed causes the
   error in list view.
 * If this is fixed everything will be perfect in my world as they are two really
   great plugins!
 *  [ash-ic](https://wordpress.org/support/users/ash-ic/)
 * (@ash-ic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/#post-6103757)
 * Ok so as I have only just installed cpt-onomies it isn’t tied in to my site at
   all. I have gotten around this by making a regular old custom taxonomy and writing
   a script to add post titles as terms to this taxonomy whenever they are created/
   updated. Its a little crude and not as full featured as cpt-onomies but it works
   for my purposes so thought I would share it here.
 *     ```
       function icam_mirror_cpt_to_taxonomy( $postid ) {
   
       	// change this to the taxonomy you want to add to
       	$taxonomy = 'watch_brand';
   
       	// get all of the details of the post that is currently being edited
       	$post = get_post($postid); 
   
       	// don't save this post as a taxonomy term if auto draft, eg. when creating a new post
       	if($post->post_status == 'auto-draft') return;
   
       	$term = get_term_by('slug', $post->post_name, $taxonomy); // try to get this new term from the taxonomy
       	if ( empty($term) ) { // and if it doesn't exist
   
       		// and finally add the currently edited post title as a term in the taxonomy
       		$add = wp_insert_term( $post->post_title, 'watch_brand', array('slug'=> $post->post_name) );
       		if ( is_array($add) && isset($add['term_id']) ) {
       			wp_set_object_terms($postid, $add['term_id'], 'watch_brand', true );
       		}
       	}
       }
       // add the action, change brand to your cpt
       add_action('save_post_brand', 'icam_mirror_cpt_to_taxonomy');
       ```
   
 *  [Jason Bahl](https://wordpress.org/support/users/jasonbahl/)
 * (@jasonbahl)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/#post-6103766)
 * I thought about going the same route as ash-ic and just mirroring a cpt and taxonomy
   on my own, but there’s a lot of cool stuff the cpt-onomies plugin does that I
   want to take advantage of, so I did a little troubleshooting and this fixed things
   for me.
 * In my theme I simply addded:
 * remove_action( ‘restrict_manage_posts’, array( $cpt_onomies_admin, ‘restrict_manage_posts’),
   10 );
 *  [Jason Bahl](https://wordpress.org/support/users/jasonbahl/)
 * (@jasonbahl)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/#post-6103767)
 * It looks like there are deeper issues than just the one I found. Because CPT-
   onomies doesn’t fully mimic the functionality of Taxonomies, some plugins such
   as Enhanced Media Library don’t work well with CPT-onomies.
 * For now, I think I’m going to have to go the same route as Ash-ic and set up 
   functionality to mirror a cpt to a taxonomy so that I can do some custom organizing
   with Enhanced Media Library.
 *  [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/#post-6103796)
 * I am seeing the same issue, when using the excellent plugin Enhanced Media Library(
   [https://wordpress.org/plugins/enhanced-media-library/](https://wordpress.org/plugins/enhanced-media-library/)).
 * `Fatal error: Call to a member function get_column_info() on null in /home/xxxxxxx/
   public_html/wp-content/plugins/cpt-onomies/admin.php on line 924`
 * Thanks

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

The topic ‘Possible plugin conflict’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpt-onomies_f2f2f2.svg)
 * [CPT-onomies: Using Custom Post Types as Taxonomies](https://wordpress.org/plugins/cpt-onomies/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cpt-onomies/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cpt-onomies/)
 * [Active Topics](https://wordpress.org/support/plugin/cpt-onomies/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpt-onomies/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpt-onomies/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [WebEndev](https://wordpress.org/support/users/munman/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/possible-plugin-conflict-4/#post-6103796)
 * Status: not resolved