Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter marketingpidz

    (@marketingpidz)

    Hey Michael,

    I think you cracked the code. I adjusted the slug on the staging environment and then I could link it again without the error message. Strange that it always worked before the updates. Thanks for your help!

    Thread Starter marketingpidz

    (@marketingpidz)

    Hey Michael,

    I hope I am pasting the correct code on this forum. I am temporarily taking over the maintenance of the website so I do not know all the ins and outs of wordpress or code. Apologies for that.

    Export Post Types settings

    {"wij-zijn-pidz":{"name":"wij-zijn-pidz","label":"Medewerkers","singular_label":"de mensen","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":"","has_archive":"true","has_archive_string":"","exclude_from_search":"false","capability_type":"post","hierarchical":"false","rewrite":"true","rewrite_slug":"","rewrite_withfront":"true","query_var":"true","query_var_slug":"","menu_position":"5","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-heart","supports":["title","editor","thumbnail","custom-fields","comments","page-attributes"],"taxonomies":["post_tag","vestiging"],"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_scheduled":"","item_updated":""},"custom_supports":""},"locaties":{"name":"locaties","label":"Locaties","singular_label":"locaties","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":"","has_archive":"false","has_archive_string":"","exclude_from_search":"false","capability_type":"post","hierarchical":"false","rewrite":"true","rewrite_slug":"","rewrite_withfront":"true","query_var":"true","query_var_slug":"","menu_position":"6","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-location","supports":["title","editor","thumbnail"],"taxonomies":["vestiging"],"labels":{"menu_name":"Locaties","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_scheduled":"","item_updated":""},"custom_supports":""},"kennisbank":{"name":"kennisbank","label":"Kennisbank","singular_label":"Kennisbank","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":"8","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-book-alt","register_meta_box_cb":null,"supports":["title","editor","thumbnail","custom-fields","author","page-attributes","post-formats"],"taxonomies":["post_tag","categorie_kennisbank"],"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":""},"custom_supports":"","enter_title_here":""},"vacatures":{"name":"vacatures","label":"Vacatures","singular_label":"Vacatures","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":"8","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-bell","register_meta_box_cb":null,"supports":["title","editor","thumbnail","page-attributes"],"taxonomies":["functieprofielen","regio"],"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":""},"custom_supports":"","enter_title_here":""},"sliders":{"name":"sliders","label":"Sliders","singular_label":"Sliders","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":"false","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":"dashicons-slides","register_meta_box_cb":null,"supports":["title","editor","thumbnail","page-attributes"],"taxonomies":["sliders"],"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_scheduled":"","item_updated":""},"custom_supports":"","enter_title_here":""},"trainingen":{"name":"trainingen","label":"Trainingen","singular_label":"trainingen","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":"false","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":"dashicons-awards","register_meta_box_cb":null,"supports":["title","thumbnail","revisions"],"taxonomies":["aanbod-groeispurt"],"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_scheduled":"","item_updated":""},"custom_supports":"","enter_title_here":""}}

    Export Taxonomies settings

    {"vestiging":{"name":"vestiging","label":"Vestiging","singular_label":"Vestiging","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_in_quick_edit":"","rest_base":"","rest_controller_class":"","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":""},"meta_box_cb":"","default_term":"","object_types":["wij-zijn-pidz","locaties"]},"categorie_kennisbank":{"name":"categorie_kennisbank","label":"categorie kennisbank","singular_label":"categorie kennisbank","description":"","public":"true","publicly_queryable":"true","hierarchical":"false","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_in_quick_edit":"","rest_base":"","rest_controller_class":"","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":""},"meta_box_cb":"","default_term":"","object_types":["kennisbank"]},"functieprofielen":{"name":"functieprofielen","label":"Functieprofielen","singular_label":"Functieprofielen","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":"1","show_admin_column":"true","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":["vacatures"]},"sliders":{"name":"sliders","label":"sliders","singular_label":"sliders","description":"","public":"true","publicly_queryable":"true","hierarchical":"false","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":["sliders"]},"regio":{"name":"regio","label":"regio","singular_label":"regio","description":"","public":"true","publicly_queryable":"true","hierarchical":"false","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":"","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":["vacatures"]},"aanbod-groeispurt":{"name":"aanbod-groeispurt","label":"aanbod-groeispurt","singular_label":"aanbod-groeispurt","description":"","public":"true","publicly_queryable":"true","hierarchical":"false","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":["trainingen"]},"dienstverband":{"name":"dienstverband","label":"dienstverband","singular_label":"dienstverband","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":["vacatures"]},"sector":{"name":"sector","label":"Sector","singular_label":"sector","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":["vacatures"]}}

    The strange thing is that it stopped working after updates. Before that it worked perfectly fine. Hope you can help and that I provided you with the correct code.

    Greetings

    Thread Starter marketingpidz

    (@marketingpidz)

    Hey Michael, No i’m sorry. I don’t have more information then what was mentioned in the first post of this support post. They looked in our wordpress staging area that is a duplicate of our website. I tought it was a ACF bug but they directed me after the research to you guys to help me fix the problem because they could not fix it. The error was not caused by their plugin

    Hi Lucia,
    After consulting with the engineers and running tests on this, there appears to be something wrong with the way the REST API has been configured for the Slider Post Type, because when you type in the box, the API gets fetched and comes back with this response:

    { “code”: “rest_invalid_param”, “message”: “Invalid parameter(s): orderby”, “data”: { “status”: 400, “params”: { “orderby”: “orderby is not one of author, date, id, include, modified, parent, relevance, slug, include_slugs, title, and menu_order.” }, “details”: { “orderby”: { “code”: “rest_not_in_enum”, “message”: “orderby is not one of author, date, id, include, modified, parent, relevance, slug, include_slugs, title, and menu_order.”, “data”: null } } }}

    That said, since the CPT was setup using the CPT UI plugin, I’d recommend reaching out to the CPT UI plugin support who should be able to troubleshoot these issues with you, it can be very difficult for us to debug issues arising from third-party plugin integrations, while we can pinpoint the issues arising from the said plugins, we can’t debug them since we do not have access to their source code.

    This is the original error what made me contact ACF plugin:
    TypeError: Cannot read properties of undefined (reading ‘toLocaleLowerCase’)
    at https://pidz.nl/wp-includes/js/dist/components.min.js?ver=fe486283a957ca5ed7c6:26:449853
    at Array.forEach ()
    at ue (https://pidz.nl/wp-includes/js/dist/components.min.js?ver=fe486283a957ca5ed7c6:26:449830)
    at e (https://pidz.nl/wp-includes/js/dist/components.min.js?ver=fe486283a957ca5ed7c6:26:451244)
    at ht (https://pidz.nl/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:45730)
    at vr (https://pidz.nl/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:56430)
    at Qs (https://pidz.nl/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:121405)
    at wl (https://pidz.nl/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:88637)
    at bl (https://pidz.nl/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:88565)
    at yl (https://pidz.nl/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:88428)

    Thread Starter marketingpidz

    (@marketingpidz)

    Hey Michael,

    This is what I got from the support of advanced custom fields plugin. Should I report this bug somewhere else?

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