• Hi there,

    on one of my sites I receive the following warning:

    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.

    (@richplugins)

    Hi @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

    (@kittmedia)

    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.

    (@richplugins)

    Hi @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.