-
Notifications
You must be signed in to change notification settings - Fork 2
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
Environment.php on line 754 Warning: Undefined property: stdClass::$slug in #17
Comments
@HenrikBoChristoffersen sorry for the late reply. Can you provide a bit more details? |
The issue is that the function is called with an blank array or an array which is not populated correctly see the $item. Wordpress introduced a check when you fetch a value from an array where it throws an error if the value do not exist. I only solved the symptom by adding an @ in front of the array, not the core problem. why is this array empty. |
…aintainability (renaming variables, rewriting docstring...) Linked to Weather-Station-Software#17
Quick follow-up @HenrikBoChristoffersen: I committed and merged a fix. This needs to be tested as part of the future 3.8.14 version (FYI the review and validation of 3.8.13 is pending on WordPress.org). |
Hello @HenrikBoChristoffersen I just released version 3.8.14, would you mind testing it and providing feedback if it resolves the error you reported? Many thanks |
Hi Jason
Environment.php on line 754 Warning: Undefined property: stdClass::$slug in
I get above error in the control panel after the upgrade to latest release of weather station
The text was updated successfully, but these errors were encountered: