I am trying to create a template for my custom post type "Residenze". I have created the post type and assigned to it some custom fields.
When I open for the first time the template section to start inserting dynamic content it works well. But when I saved the template and the page reloads I get a blank page (attached the error in the console)
I expected to see the editor to create a template with dynamic fields etc.
Can you tell me how to solve the problem?
Link to a page where the issue can be seen: I'am building a website for a client so atm it is in a local env.
I have managed to put the website online under a subdomain.
The problem shows only when you try to add a themplate/model for the "Residenze" Post Type.
If you try the same procedure with "Camere" Post Type everything seems to works fine.