Valery Posted January 16, 2014 Posted January 16, 2014 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!
adrian Posted January 16, 2014 Posted January 16, 2014 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" 2
Valery Posted January 16, 2014 Author Posted January 16, 2014 Thanks adrian. I am running 2.3.1 and the Ryan's fix worked like magic!
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