Title: PHP event: code E_WARNING: json_decode()
Last modified: June 22, 2020

---

# PHP event: code E_WARNING: json_decode()

 *  Resolved [Aims](https://wordpress.org/support/users/amyaturnerwp/)
 * (@amyaturnerwp)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-event-code-e_warning-json_decode/)
 * Hello,
 * Received an error on my latest Updraft backup. The backup apparently succeeded,
   but showed an error message after it finished:
 * PHP event: code E_WARNING: json_decode() expects parameter 1 to be string, array
   given (line 177, wp-content/plugins/updraftplus/includes/Google/Auth/OAuth2.php)(
   Jun 22 10:14:48)
 * Thank you for looking into it and for your assistance.

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

 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-event-code-e_warning-json_decode/#post-13023904)
 * Hi,
 * Please can you send me a copy of the full backup log?
    The backup log can be 
   found in the UpdraftPlus Backup/Restore tab. Please upload or use an online service
   such as Dropbox or Pastebin, and post the link here.
 * Best Wishes,
    Bryle
 *  Thread Starter [Aims](https://wordpress.org/support/users/amyaturnerwp/)
 * (@amyaturnerwp)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-event-code-e_warning-json_decode/#post-13025392)
 * Thank you.
 * Here is the link: [https://drive.google.com/file/d/1QP5WRMipdUqyqFoDGtxbct8wisOKdSVq/view?usp=sharing](https://drive.google.com/file/d/1QP5WRMipdUqyqFoDGtxbct8wisOKdSVq/view?usp=sharing)
 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-event-code-e_warning-json_decode/#post-13030306)
 * Hi,
 * Thanks for sending the log.
 * Do you have a WP SMTP Mail plugin installed? One of our users has reported the
   issue here – [https://wordpress.org/support/topic/error-regarding-google-oauth2/](https://wordpress.org/support/topic/error-regarding-google-oauth2/).
 * Regards,
    Bryle

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

The topic ‘PHP event: code E_WARNING: json_decode()’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/php-event-code-e_warning-json_decode/#post-13030306)
 * Status: resolved