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

Ensure that snapshot data is always an array #43

Merged
merged 1 commit into from Jun 10, 2016

Conversation

Projects
None yet
1 participant
@westonruter
Copy link
Contributor

westonruter commented Jun 10, 2016

Should fix these issues when data is corrupted:

  • Warning: Invalid argument supplied for foreach() in .../customize-snapshots/php/class-customize-snapshot-manager.php on line 753
  • Warning: Invalid argument supplied for foreach() in .../customize-snapshots/php/class-customize-snapshot.php on line 337
  • Warning: Invalid argument supplied for foreach() in /var/www/html/wordpress/docroot/wp-includes/functions.php on line 3459
  • Warning: array_filter() expects parameter 1 to be array, null given in .../customize-snapshots/php/class-customize-snapshot.php on line 314
  • Warning: array_keys() expects parameter 1 to be array, null given in .../customize-snapshots/php/class-customize-snapshot.php on line 337

@westonruter westonruter merged commit 44b74dd into release/0.4.0 Jun 10, 2016

@westonruter westonruter deleted the bugfix/handle-null-data branch Jun 10, 2016

@westonruter westonruter modified the milestone: 0.4.0 Jun 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.