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

Undefined index #1567

Closed
mapsteps opened this issue Oct 5, 2017 · 5 comments
Closed

Undefined index #1567

mapsteps opened this issue Oct 5, 2017 · 5 comments

Comments

@mapsteps
Copy link
Contributor

mapsteps commented Oct 5, 2017

Issue description:

Hey @aristath,

I'm getting the following error using 3.0.10 and also with the latest dev branch having debug mode activated:

undefined-index

Version used:

latest dev & 3.0.10

Using theme_mods or options?

Code to reproduce the issue (config + field(s))

@aristath
Copy link
Contributor

aristath commented Oct 5, 2017

can you post the code of your field please?

@mapsteps
Copy link
Contributor Author

mapsteps commented Oct 5, 2017

I guess this is not triggered by a specific field but I may be wrong.

@mapsteps
Copy link
Contributor Author

mapsteps commented Oct 5, 2017

PS: this just shows up for like a second, then the customizer is loaded properly.

@aristath
Copy link
Contributor

aristath commented Oct 5, 2017

This is weird...
I can't replicate it.

I make sure there's a language defined in https://github.com/aristath/kirki/blob/3.0.10/field/class-kirki-field-code.php#L39-L43 which runs before the Kirki_Control_Code class. So this should not be happening...
However I just pushed a commit that adds an extra fix there for sanity's sake.
It should be ok now in the dev branch 👍

@mapsteps
Copy link
Contributor Author

mapsteps commented Oct 5, 2017

Confiremd. Works with the latest dev branch :) Thanks!

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

No branches or pull requests

2 participants