No.. I did NOT change the taxonomy slug. But changing the slug of the service area PAGE causes the view to output ALL categories instead of just subcategories of the current one. Your code is doing the comparison based on the current page slug. When the current page slug is different than the taxonomy slug, it outputs ALL results, instead of only children of the matched Category.
I am still trying to find any/all slug duplicates if that is causing the fatal errors.
When I tried to edit/update an existing taxonomy (for example, change Rewrite options) and click "Save Taxonomy" - the fatal error is thrown, but the change gets saved.
With your project post type - I've change the slug of this post type from "projects" to "project" and saved the post type and now I can see I can able to save permalinks, taxonomies in the backend.
That works (no fatal error and no fatal errors when updating CPTs)... however... did you delete my Projects Archive content template? I get a 404 when going to: hidden link
Is it safe for me to recreate the Projects Archive template?
Also, FYI, changing my Service Area page slugs back to the same slug as the taxonomies makes your custom code work again.
That block is showing an error. I tried to delete the block and re-add a fields & text block, but it shows an error. It seems impossible to add a fields & text block?
Glad to know that the change of the slug that I did help you to resolve your original issue.
As per our support policy - we entertain only one question per ticket. That will help us to write corect resolution summery for the original issue reported and we can target the specific solution.
I would happy to assist you further but please kindly open a new ticket with every new question you may have. You can reference your old ticket with the new ticket you created.
What else did you do to "fix" the permalinks fatal error besides changing the slug?
It looks like you also turned off "rewrite" in the "Projects" post type?
By doing this, the site is no longer functional. I tried turning it back on, and the fatal errors return.
Thanks for your additional help. The permalinks fatal error issue seems to be resolved.
I will open a new ticket for the new/additional issues that the solution (re-naming a CPT slug) has created on the site.
(Disconnected content templates).
Please note: The resolution radio buttons are grayed out and unclickable in my browser.
The support team helped me find a fix to the problem