LostKobrakai Posted October 14, 2014 Share Posted October 14, 2014 I was trying to find out, why one of my PageTables always refused to add a new page, instead it replaced the old entry. This all happened via the api. I have a setup where theres a folder for event applications (own template) and the applications as children. Now if I want to manually add a child to the folder I get this error. The old pages, which already exist there are still editable, while the new one also throws this error if I try to edit it. Does someone know what could cause this problem? Fatal error: Call to a member function children() on a non-object in /…/wire/modules/Inputfield/InputfieldPage/InputfieldPage.module(172) : eval()'d code on line 1 PW-Version is 2.5.3 Link to comment Share on other sites More sharing options...
LostKobrakai Posted October 14, 2014 Author Share Posted October 14, 2014 Yeah, after a little but of pulling my hair out I found the culpit. I had a page field with this selector: return $page->event->children(); which of course should be this: return $page->event->children; 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