Title: version 3 array / stdclass mixup
Last modified: November 18, 2019

---

# version 3 array / stdclass mixup

 *  [brbrbr](https://wordpress.org/support/users/brbrbr/)
 * (@brbrbr)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/version-3-array-stdclass-mixup/)
 * Hi,
 * I’m using your plugin using a call to awesome_weather_logic from a custom widget.
   
   I didn’t work anymore in version 3. Get the change from 2 values lat and lng 
   to a lat,lng string.
 * However I think I found an issue in your code
 * the function awesome_weather_logic converts the array $atts into an object when
   calling awe_widget_id
 * (and the weather-error should not return from within the ob_start this breaks
   the ob_start/ob_end pair)
 * regards
 * bram

The topic ‘version 3 array / stdclass mixup’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/awesome-weather_ad7c7d.svg)
 * [Awesome Weather Widget](https://wordpress.org/plugins/awesome-weather/)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-weather/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [brbrbr](https://wordpress.org/support/users/brbrbr/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/version-3-array-stdclass-mixup/)
 * Status: not resolved