Title: Warning: json_decode()
Last modified: August 29, 2017

---

# Warning: json_decode()

 *  Resolved [Argentum](https://wordpress.org/support/users/argentum/)
 * (@argentum)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/warning-json_decode/)
 * Warning: json_decode() expects parameter 1 to be string, object given in /website/
   wp-content/plugins/inline-google-spreadsheet-viewer/inline-gdocs-viewer.php on
   line 1655 Warning: json_decode() expects parameter 1 to be string, object given
   in /website/wp-content/plugins/inline-google-spreadsheet-viewer/inline-gdocs-
   viewer.php on line 1655 Warning: json_decode() expects parameter 1 to be string,
   object given in /website/wp-content/plugins/inline-google-spreadsheet-viewer/
   inline-gdocs-viewer.php on line 1655 Warning: json_decode() expects parameter
   1 to be string, object given in /website/wp-content/plugins/inline-google-spreadsheet-
   viewer/inline-gdocs-viewer.php on line 1655 Warning: json_decode() expects parameter
   1 to be string, object given in /website/wp-content/plugins/inline-google-spreadsheet-
   viewer/inline-gdocs-viewer.php on line 1655 Warning: json_decode() expects parameter
   1 to be string, object given in /website/wp-content/plugins/inline-google-spreadsheet-
   viewer/inline-gdocs-viewer.php on line 1655
 * I upgraded to the latest version (not sure if it has anything to do with the 
   warning). While saving the settings of the Relevanssi plugin, saving took a long
   time, and then this warning showed. And as usual I now got the default object
   instead of my slightly edited object with PDF, Exel and Print.
 * Any hints? Could a misformatted gdoc shortcode cause this?

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

 *  Thread Starter [Argentum](https://wordpress.org/support/users/argentum/)
 * (@argentum)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/warning-json_decode/#post-9455134)
 * Solved the problem. The Relevanssi search plugin author pointed me in the right
   direction. “Mikko Saari wrote:
 * I’m guessing the Inline Google Spreadsheet Viewer is using a shortcode that’s
   not fully compatible with Relevanssi. Relevanssi extends shortcodes in a slightly
   unusual context, which doesn’t always work with all plugins. If that’s the case,
   disabling shortcode extension in Relevanssi settings should fix the problem.”
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/warning-json_decode/#post-9455877)
 * Great to hear you resolved it. 🙂

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

The topic ‘Warning: json_decode()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Meitar](https://wordpress.org/support/users/meitar/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/warning-json_decode/#post-9455877)
 * Status: resolved