Title: Undefined property: stdClass::$language
Last modified: March 31, 2023

---

# Undefined property: stdClass::$language

 *  Resolved [Matthias Kittsteiner](https://wordpress.org/support/users/kittmedia/)
 * (@kittmedia)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/undefined-property-stdclasslanguage/)
 * Hi there,
 * on one of my sites I receive the following warning:
 *     ```wp-block-code
       ErrorException: Warning: Undefined property: stdClass::$language
       #6 /wp-content/plugins/widget-google-reviews/includes/core/class-connect-google.php(256): WP_Rplg_Google_Reviews\Includes\Core\Connect_Google::save_reviews
       #5 /wp-content/plugins/widget-google-reviews/includes/core/class-connect-google.php(148): WP_Rplg_Google_Reviews\Includes\Core\Connect_Google::grw_refresh_reviews
       #4 /wp-content/plugins/widget-google-reviews/includes/class-reviews-cron.php(74): WP_Rplg_Google_Reviews\Includes\Reviews_Cron::update_schedule
       #3 /wp-includes/class-wp-hook.php(308): WP_Hook::apply_filters
       #2 /wp-includes/class-wp-hook.php(332): WP_Hook::do_action
       #1 /wp-includes/plugin.php(565): do_action_ref_array
       #0 /wp-cron.php(188): null
       ```
   
 * It would be nice to have it fixed in the next version or a guide how I can fix
   it myself.
 * Best regards,
   Matthias

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * (@richplugins)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/undefined-property-stdclasslanguage/#post-16626524)
 * Hi [@kittmedia](https://wordpress.org/support/users/kittmedia/),
 * It’s very strange warning because ‘language’ field is mandatory in the Google
   Places API response data and must be. Could you send debug information for this
   website to our support (support[at]richplugins.com) to further investigation?
 * Thanks!
 *  Thread Starter [Matthias Kittsteiner](https://wordpress.org/support/users/kittmedia/)
 * (@kittmedia)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/undefined-property-stdclasslanguage/#post-16628455)
 * Yes, the field itself is mandatory and available, but it may have no value. I
   will send you the desired debug information.
 *  Plugin Author [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * (@richplugins)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/undefined-property-stdclasslanguage/#post-16634615)
 * Hi [@kittmedia](https://wordpress.org/support/users/kittmedia/),
 * It’s fixed in the latest version 2.3.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Undefined property: stdClass::$language’ is closed to new replies.

 * ![](https://ps.w.org/widget-google-reviews/assets/icon-256x256.gif?rev=3152314)
 * [Rich Showcase for Google Reviews](https://wordpress.org/plugins/widget-google-reviews/)
 * [Support Threads](https://wordpress.org/support/plugin/widget-google-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-google-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-google-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-google-reviews/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/undefined-property-stdclasslanguage/#post-16634615)
 * Status: resolved