Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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?

Posted

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

Posted
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: 

 

  • Like 1
Posted

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 :-)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...