Last created "Post Type" wont display under "Taxonomies"

Hey!
I found a bug when creating a custom post and assigning a custom taxonomy.

I created 2 post types called "Test 1" & "Test 2", I also created 2 taxonomies "Test Tax 1" & "Test Tax 2". When I go to assign a taxonomy to a post type only "Test 1" appears.

As a workaround I created post type "Test 3", when I did this "Test 1" & "Test 2" appear in the list but not "Test 3".

I hope I've given you enough information.
Thanks!

  • Kasia Swiderska

    Hello Tim,

    Than is very strange - I tried to replicate this on your site and on mine but I could not - I created test custom post type and it showed right away in taxonomy list (on your site - I'm allowing myself to leave it so you can see that it is showing in taxonomy). On my site I created two post types and then one taxonomy - they showed there instantly.

    Can you try deleting this third custom post type and creating it again so see if that error will appear again?

    But this time please enable debug log so we will be able to see what is happening there. To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

    define('WP_DEBUG', true);

    In order to enable the error logging to a file on the server you need to add yet one more similar line:

    define( 'WP_DEBUG_LOG', true );

    In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.

    Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:

    define( 'WP_DEBUG_DISPLAY', false );

    The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it. I would need then to see content of the debug.log file - so please upload it to dropbox like a service and paste link here.

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.