-
Notifications
You must be signed in to change notification settings - Fork 96
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
3.2.16 throws errors if Error Log is empty #285
Milestone
Comments
@mostekcm this still relevant? |
joshcanhelp
added a commit
that referenced
this issue
Jan 24, 2018
joshcanhelp
added a commit
that referenced
this issue
Jan 29, 2018
Merged
joshcanhelp
added a commit
that referenced
this issue
Jan 31, 2018
joshcanhelp
added a commit
that referenced
this issue
Jan 31, 2018
joshcanhelp
added a commit
that referenced
this issue
Jan 31, 2018
joshcanhelp
added a commit
that referenced
this issue
Feb 28, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Two things need to be fixed for this.
Add:
$log = get_option('auth0_error_log', array());
if (!is_array($log)) {
$log = array();
}
For some reason the $log is returning false instead of array().
Add else condition after check for empty around the foreach. Same reason. Returning boolean instead of array when empty.
The text was updated successfully, but these errors were encountered: