sms Posted April 13, 2018 Share Posted April 13, 2018 Hello, I get the following warning when I open the page tree: PagesLoader: You must assign a template to the page before setting custom field values (title__data) [pageClass=Page, template=] There is one page in the trash which I can't delete. I always get the message that the trash bin is empty (but there is still a 1 near the trash icon). How can I fix that? Thank you very much for your help. Link to comment Share on other sites More sharing options...
dragan Posted April 13, 2018 Share Posted April 13, 2018 Try deleting the contents of site/assets/cache/, clear your browser cache, and refresh PW-admin. If all that fails, try also to clear the module cache. Link to comment Share on other sites More sharing options...
sms Posted April 13, 2018 Author Share Posted April 13, 2018 Thank you very much. Deleting the cache, clearing the browser cache and refreshing the PW-admin didn't help. Where do I find the modules cache? Link to comment Share on other sites More sharing options...
dragan Posted April 13, 2018 Share Posted April 13, 2018 modules > page tab > scroll to the bottom "clear compiled files" (or whatever the wording is in english) Or: https://yoursite.com/pw/module/?reset=1 Link to comment Share on other sites More sharing options...
dragan Posted April 13, 2018 Share Posted April 13, 2018 8 hours ago, sms said: You must assign a template to the page Maybe that page in the trash has a template assigned which no longer exists. Try to edit it, set it to any tpl that exists, save - and then delete. Or you could try to delete it via API: 1 Link to comment Share on other sites More sharing options...
sms Posted April 16, 2018 Author Share Posted April 16, 2018 Sorry for my delayed answer and thank you for pointing me into the right direction. I have now deleted the assigned template in the database and could empty the trash. Thank you again and have a good day Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now