hellomoto Posted March 30, 2017 Share Posted March 30, 2017 Line 663 = if(count($page->template->childTemplates) && !in_array($addPage->template->id, $page->template->childTemplates)) { The template has no child templates and is the sole child template of its parent template; why this notice? Link to comment Share on other sites More sharing options...
kixe Posted March 30, 2017 Share Posted March 30, 2017 Where and how did you define $addPage ? Try var_dump(gettype($addPage)); // 'object' var_dump(get_class($addPage)); // 'ProcessWire\Page' 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