Error after deleting a "Page Type"
Permalink
Hi, I have been developing a custom Concrete5 theme, and experimenting with Concrete5
I created a "Page Type" called "Additional Page" and started to add a new page to my Website. Then realizing the Page Type was using the wrong template so I deleted it. However I should have deleted the Page Draft "Untitled" first, now when i click on it i get the following error
An unexpected error occurred.
Call to a member function getPageTypeHandle() on a non-object
< Back to Home
I created a "Page Type" called "Additional Page" and started to add a new page to my Website. Then realizing the Page Type was using the wrong template so I deleted it. However I should have deleted the Page Draft "Untitled" first, now when i click on it i get the following error
An unexpected error occurred.
Call to a member function getPageTypeHandle() on a non-object
< Back to Home
You can go to the Dashboard, click sitemap with "Include System Pages in Sitemap" checked, then find the page in your trash folder and restore it.
From there maybe you can do something different than what you already did to cause the problem.
You do not get any options when you click on the file in the trash but I just tried something else for the sake of this conversation and it appears you can drag it back to your sitemap.