• Resolved NR2400

    (@nr2400)


    CPT-onomies looks to be a great plugin but it is now somehow broken as the ‘name’ field constantly produces the error ‘That post type name already exists. Please choose another name’ regardless of the actual contents and if I do ‘add new’ or ‘edit’ existing. The result is that I cannot save.

    This error is not result of plugin-update but more likely data/settings as I initially (wrong fully) made some CPT-onomies as ABBA links (Actors pointing to Movies and Movies pointing to Actors at the same time).

    Any suggestion on how to fix this and what to look for in the database would much appreciated.

    https://ww.wp.xz.cn/plugins/cpt-onomies/

Viewing 1 replies (of 1 total)
  • Thread Starter NR2400

    (@nr2400)

    Resolved: (okay, we all have to learn)
    From the readme.file in the plugin:
    Q: “I’m not able to save my custom post type because the page keeps telling me ‘That post type name already exists.'”
    A: “This a jQuery ‘bug’ that only sems to plauge a few. I’ve noticed that this validation standstill will occur if you have any text printed outside the ‘<body’> element on your page. If that’s not the case and the problem still lingers after you’ve upgraded to version 1.1, you can dequeue the validation script by placing the following code in your functions.php file.

    I will not copy the code as my issue was that I have a child-theme that contained a newline ?> php-ending in functions.php. Removing this whitespace seams to do the trick.

    Now I’ll go back to configuring this great plugin, thanks Rachel.

Viewing 1 replies (of 1 total)

The topic ‘Permanent 'post name already exists' error (bug)’ is closed to new replies.