gdoc query shortcode causes ‘invalid JSON response’ error when saving
-
Hi,
first of all, I’ll quickly state my specs. My site is running on:
– PHP 7.2.29 (Apache)
– WordPress 5.3.2
– the following plugins: Contact Form 7, Events Made Easy, NextGEN gallery, ShortPixel image optimizer, W3 Total Cache, WP-Optimize and Yoast SEO.. and Inline Google Spreadsheet viewer of course.I am an administrator of the website and I’ve enabled the possibility to SQL query in the settings. However, when I want to insert the [gdoc] shortcode in a normal page, things go awry.
– All goes well when only using [gdoc] shortcode itself
– The moment I want to query with either [gdoc key=”wordpress”] or [gdoc key=”mysql: etc”] and I want to save the page, a red alert appears, saying: ‘The response is not a valid JSON response’.Checking the POST call WordPress makes when clicking the save button and it returns the following error:
‘<h1>Error thrown</h1><p>Call to a member function has_cap() on boolean</p>’I’m out of ideas. Can anyone help me?
- The topic ‘gdoc query shortcode causes ‘invalid JSON response’ error when saving’ is closed to new replies.