Jump to content

Cannot empty trash


Valery
 Share

Recommended Posts

Hi guys,

Long story short: I played with ProcessWire and broke something (I guess I moved some old repeater pages in Trash (which one should not do).

Now I cannot empty Trash:

Error:     Call to a member function hasRole() on a non-object (line 1275 of /.../wire/core/Page.php)
 

I attach a screenshot if it might help.

Thanks for your help. Any tips of how to fix my non-emptying Trash are appreciated!

Link to comment
Share on other sites

What version of PW are you running?

Does this post help - Ryan has a fix for the current stable:

http://processwire.com/talk/topic/4384-cant-empty-trash-or-delete-indivdual-trashed-pages/

PS In case you don't know, the search mechanism in this forum is not great, but the following search in google works a treat:

site:processwire.com "Call to a member function hasRole() on a non-object"

  • Like 2
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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