WordPress.org

Forums

Admin Columns
[resolved] Getting error on the custom post type list page (4 posts)

  1. Andrew
    Member
    Posted 3 years ago #

    I get an error on every entry that says this.

    The staxo-member-levels field is not defined as a custom field.

    I use five CPTs but I'm only get this error on one of them.

    Plugins I'm using custom content types and simple taxonomy.

    http://wordpress.org/extend/plugins/codepress-admin-columns/

  2. Codepress
    Member
    Plugin Author

    Posted 3 years ago #

    Would you mind sending me a screenshot of the CPT screen which has the error? That would help me find a solution. You can send it to info@codepress.nl.

    Tobias

  3. davehc
    Member
    Posted 2 years ago #

    hi Tobias, can you share this solution with me ?

  4. Tobias Schutter
    Member
    Plugin Author

    Posted 2 years ago #

    The output you see in the example above is generated by custom Content Type Manager. I don't have a fix for that, as the values I set will be overwritten by this plugin.

    The only thing you could try is add this piece of code to your theme's functions.php. This will remove the added columns (and it's output) that are set by Custom content Type Manager.

    if ( class_exists('CCTM') ) {
    	remove_action('manage_posts_custom_column', array(CCTM::$Columns, 'populate_custom_column_data'));
    	remove_action('manage_pages_custom_column', array(CCTM::$Columns, 'populate_custom_column_data'));
    }

    Let me know if this works for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Admin Columns
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic