Replies: 0
I’m having a problem with this plug-in showing absolutely no content in the “entry-content” area on both pages and posts when the shortcode is anywhere on the page.
I’ve tried de-activating all other plug-ins and installing a different theme. The “entry-content” is still blank. When I deactivate the Inline Google Spreadsheet Viewer plug-in, the pages and posts load just fine, but the page shows the shortcode, here’s an example:
[gdoc key=”mysql://chris:GeraldMarcyLoneWandererMacGreedy@localhost:3306/fccdata” query=”SELECT phone_number AS ‘Phone Number’, hour_of_day + ‘:00’ AS ‘Hour of Day’, coalesce(sum(last_seven_days),0) AS ‘Last 7 Days’, coalesce(sum(last_twenty_eight_days),0) AS ‘Last 4 Weeks’, coalesce(sum(last_six_months),0) AS ‘Last 6 Months’, count(*) AS Total FROM phone_call_periods WHERE phone_number=’361-317-3290′ GROUP BY hour_of_day”]
On pages without the shortcode, the page loads fine regardless of whether this plug-in is active / deactive.
I even added this to the functions per your support page, but it did not help (I’m not a php programmer):
function igsv_dequeue_google_charts_script ($scripts) {
unset($scripts[‘igsv-gvizcharts’]);
unset($scripts[‘jquery-datatables’]);
unset($scripts[‘datatables-buttons’]);
unset($scripts[‘datatables-buttons-colvis’]);
unset($scripts[‘datatables-buttons-print’]);
unset($scripts[‘pdfmake’]);
unset($scripts[‘pdfmake-fonts’]);
unset($scripts[‘jszip’]);
unset($scripts[‘datatables-buttons-html5’]);
unset($scripts[‘datatables-select’]);
unset($scripts[‘datatables-fixedheader’]);
unset($scripts[‘datatables-fixedcolumns’]);
unset($scripts[‘datatables-responsive’]);
unset($scripts[‘google-ajax-api’]);
return $scripts;
}
add_filter(‘gdoc_enqueued_front_end_scripts’, ‘igsv_dequeue_google_charts_script’)
It was working just fine for months, until a few days ago – it looks like the problem started on 4/29/17. I’m hoping there was something in the latest update that can be un-done.
Any ideas?