• Resolved addagencia

    (@addagencia)


    <span style=”font-size: inherit;”>I am using the plugin and created two custom post types:</span>

    • Professionals

    • Articles

    Today, when I tried to access the Professionals list, I noticed that clicking on the main menu redirects me to the taxonomy list instead.

    The admin page that should display the list of posts for this post type (or any other custom post type) is not accessible. I am also unable to create new posts within these custom post types.

    All plugins are up to date, and I have already tested for conflicts between plugins and the theme, without success.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Do you have any taxonomies with the same slugs?

    Is this in the WP admin or on the frontend?

    Thread Starter addagencia

    (@addagencia)

    There are no taxonomies with the same slug. The front-end loads the content correctly, but I am having problems accessing the content in the admin area, including creating new posts and viewing the list of posts.

    It shows a warning that I do not have permission to access this content.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Did you change the capability type away from post ? If yes, try changing it back to that.

    Thread Starter addagencia

    (@addagencia)

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    No other plugins affecting roles and capabilities?

    We’re pretty plug and play and don’t change the topic with the code from CPTUI itself, so something else seems to be going on.

    Thread Starter addagencia

    (@addagencia)

    I disabled all plugins and tested. Still the same problem.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you provide the blob of JSON data from the CPTUI > Tools menu? Provide both the post types and the taxonomies.

    Best idea I have at this point is just trying to recreate myself and/or review for any potentially odd looking settings.

    Thread Starter addagencia

    (@addagencia)

    POST TYPES
    {“profissionais”:{“name”:”profissionais”,”label”:”Profissionais”,”singular_label”:”Profissional”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”false”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:””,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:null,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”],”taxonomies”:[],”labels”:{“menu_name”:””,”all_items”:””,”add_new”:””,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_trashed”:””,”item_scheduled”:””,”item_updated”:””,”template_name”:””},”custom_supports”:””,”enter_title_here”:””},”estudos_cientificos”:{“name”:”estudos_cientificos”,”label”:”Estudos Cient\u00edficos”,”singular_label”:”Estudo Cient\u00edfico”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”true”,”can_export”:”false”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:””,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:null,”register_meta_box_cb”:null,”supports”:[“title”,”editor”],”taxonomies”:[],”labels”:{“menu_name”:””,”all_items”:””,”add_new”:””,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_trashed”:””,”item_scheduled”:””,”item_updated”:””,”template_name”:””},”custom_supports”:””,”enter_title_here”:””}}



    TAXONOMIES
    {“especialidade”:{“name”:”especialidade”,”label”:”Especialidades”,”singular_label”:”Especialidade”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”true”,”show_in_rest”:”true”,”show_tagcloud”:”false”,”sort”:”false”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””,”name_field_description”:””,”parent_field_description”:””,”slug_field_description”:””,”desc_field_description”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“profissionais”]},”forma_de_atendimento”:{“name”:”forma_de_atendimento”,”label”:”Formas de atendimento”,”singular_label”:”Forma de atendimento”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”true”,”show_in_rest”:”true”,”show_tagcloud”:”false”,”sort”:”false”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””,”name_field_description”:””,”parent_field_description”:””,”slug_field_description”:””,”desc_field_description”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“profissionais”]},”idiomas_de_atendimento”:{“name”:”idiomas_de_atendimento”,”label”:”Idiomas de Atendimento”,”singular_label”:”Idioma de Atendimento”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_tagcloud”:”false”,”sort”:”false”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””,”name_field_description”:””,”parent_field_description”:””,”slug_field_description”:””,”desc_field_description”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“profissionais”]},”autor_estudo_cientifico”:{“name”:”autor_estudo_cientifico”,”label”:”Autores do Estudo”,”singular_label”:”Autor do Estudo”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”true”,”show_in_rest”:”true”,”show_tagcloud”:”false”,”sort”:”false”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””,”name_field_description”:””,”parent_field_description”:””,”slug_field_description”:””,”desc_field_description”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“estudos_cientificos”]},”enderecos_de_atendimento”:{“name”:”enderecos_de_atendimento”,”label”:”Endere\u00e7os”,”singular_label”:”Endere\u00e7o”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”true”,”show_in_rest”:”true”,”show_tagcloud”:”false”,”sort”:”false”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””,”name_field_description”:””,”parent_field_description”:””,”slug_field_description”:””,”desc_field_description”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“profissionais”]}}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Nothing standing out settings wise.

    I imported both and was able to create posts in both post types as well as create a term. So I don’t think it’s necessarily something from CPTUI specifically.

    Do you by chance have a mu-plugins folder inside wp-content and possibly some files in there that could be affecting things?

    Thread Starter addagencia

    (@addagencia)

    Looking for access to the site files. As soon as I get them, I´ll reply here.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Definitely a very strange situation.

    Thread Starter addagencia

    (@addagencia)

    Hello

    There´s no mu-plugins folder inside wp-content folder.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    At this point, I’m at a bit of a loss unless it’s something to do with the current active theme, but that’s not something I can review myself. I wasn’t able to get the same behavior when i imported the CPTUI settings for the content types.

    Thread Starter addagencia

    (@addagencia)

    But since it´s only happening in the admin panel, does the theme can influence?

    Anyway, I tried other theme without success.

    I was rthinking about trying to recreate the post type using ACF, with same slug. Could work?

    Thread Starter addagencia

    (@addagencia)

    I found the issue.

    I am using the plugin Booknetic for appointments. My user account, besides being an administrator, was also set as a staff member in the plugin.

    Even after disabling Booknetic, I was still unable to access the custom post types in the admin area.

    I created a new administrator user and everything worked normally.

    Thank you for your attention and the quick replies.

Viewing 15 replies - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.