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

WARNING IsSet will always return false #71

Open
awhitford opened this issue Oct 15, 2020 · 1 comment
Open

WARNING IsSet will always return false #71

awhitford opened this issue Oct 15, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@awhitford
Copy link
Contributor

When building my site, I get this warning:

WARNING: calling IsSet with unsupported type "string" (string) will always return false.

It looks like IsSet was introduced by #9, related to Search functionality.

@eddiewebb
Copy link
Owner

There may be better options for that method to avoid throwing the warning, but I think this error only occurs when those elements are empty. Been a while but essentially an expected warning...

I'll update issue to reflect opp to improve that function, but not causing issues AFAIK.

@eddiewebb eddiewebb added the enhancement New feature or request label Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants