Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice #9

Closed
lpointet opened this issue Jul 15, 2014 · 3 comments
Closed

Notice #9

lpointet opened this issue Jul 15, 2014 · 3 comments
Assignees
Milestone

Comments

@lpointet
Copy link
Collaborator

I updated source code and when I edited my application, I just saw the following error:
Notice: Undefined index: with_subtree in (...)wp-content\plugins\wp-app-kit\lib\components\components-types\page.php on line 178

@lpointet lpointet mentioned this issue Jul 15, 2014
@lpointet lpointet added this to the 0.1 milestone Jul 15, 2014
@mleroi
Copy link
Collaborator

mleroi commented Jul 15, 2014

This is certainly due to the fact that you have an old "WordPress page" component in your app.
The new page component has 2 new options parameters "with_subtree" and "page_type" that are not found in the old "Wordpress page" component currently saved in your app. Is it solved when you resave (edit+save) this WordPress page component or if your delete the existing and add a new WordPress page component to your app?
This notice will not happen for someone who didn't use the old "Wordpress page" component and
I didn't handle retro compatibility for this new WordPress page component, as we're still in beta :)

@lpointet
Copy link
Collaborator Author

Makes sense. I'll test as soon as I'm home :).

@lpointet
Copy link
Collaborator Author

It's OK when editing the component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants