Must call google.charts.load before google.charts.setOnLoadCallback
-
Installed Google Site Kit and configured/activated the plugin. Now, when I go to dashboard, I get this error:
Must call google.charts.load before google.charts.setOnLoadCallback
in n in div in n in div in div in n in div in n in m in Unknown in WithFilters(t) in div in div in div in n in div in n in Unknown in Unknown in Unknown in WithFilters(t) in n in n in div in div in div in div in n in aOther (2) users have experienced same problem. Advice / recommendation for those were to clear cache and to update Google Site Kit to 1.3.0. The plugin is at v1.3.1; I have cleared my cache; closed and relaunched Chrome browser; and still have this issue/error.
-
@themout Thanks for reporting, and providing information on the steps you’ve already undertaken. In order to troubleshoot further can you please reset Site Kit before then deleting the plugin in full. After doing so please install and setup once more, using a Chrome browser incognito window.
If the issue remains please inform me of the following:
– Your Site Health information
– Your current web hosting provider
– Your site URL@jamesosborne Im having the same issue on my site. I alredy did the instructions o gave on last post, but nothing changed.
Here are the informations you asked:
Site Health: `
### wp-core ###version: 5.2.5
site_language: pt_BR
user_language: pt_BR
permalink: /%postname%/
https_status: false
user_registration: 0
default_comment_status: open
multisite: false
user_count: 1
dotorg_communication: true### wp-paths-sizes ###
wordpress_path: /home/u474770197/domains/revistatecnologia360.com.br/public_html
wordpress_size: loading…
uploads_path: /home/u474770197/domains/revistatecnologia360.com.br/public_html/wp-content/uploads
uploads_size: loading…
themes_path: /home/u474770197/domains/revistatecnologia360.com.br/public_html/wp-content/themes
themes_size: loading…
plugins_path: /home/u474770197/domains/revistatecnologia360.com.br/public_html/wp-content/plugins
plugins_size: loading…
database_size: loading…
total_size: loading…### wp-active-theme ###
name: ColorMag
version: 1.3.3 (latest version: 1.4.3)
author: ThemeGrill
author_website: https://themegrill.com
parent_theme: none
theme_features: automatic-feed-links, post-thumbnails, menus, custom-background, title-tag, post-formats, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, custom-logo, customize-selective-refresh-widgets, align-wide, starter-content, custom-header, widgets
theme_path: /home/u474770197/domains/revistatecnologia360.com.br/public_html/wp-content/themes/colormag### wp-themes (4) ###
Twenty Fifteen: version: 2.0, author: a equipe do WordPress (latest version: 2.5)
Twenty Nineteen: version: 1.4, author: a equipe do WordPress
Twenty Seventeen: version: 1.7, author: a equipe do WordPress (latest version: 2.2)
Twenty Sixteen: version: 1.5, author: a equipe do WordPress (latest version: 2.0)### wp-plugins-active (15) ###
AdRotate Banner Manager: version: 5.6.2, author: Arnan de Gans (latest version: 5.7)
All-in-One WP Migration: version: 6.80, author: ServMask (latest version: 7.17)
Audima: version: 1.8.0, author: Audima (latest version: 1.11.0)
Auto-Post To Instagram: version: 1.4.8, author: Roland, Informatica Duran
Email Subscribers & Newsletters: version: 3.5.17, author: Icegram (latest version: 4.3.12)
Everest Forms: version: 1.4.0, author: WPEverest (latest version: 1.6.1)
Facebook Widget: version: 4.2.3, author: Milap Patel (latest version: 6.0)
Google Analytics: version: 2.1.5, author: ShareThis (latest version: 2.2.5)
Google Analytics for WordPress by MonsterInsights: version: 7.10.4, author: MonsterInsights
heatmap for WordPress: version: 0.5.2, author: HeatMap, Inc
Jetpack by WordPress.com: version: 6.8.2, author: Automattic (latest version: 8.2.1)
Site Kit by Google: version: 1.3.1, author: Google
ThemeGrill Demo Importer: version: 1.5.5, author: ThemeGrill (latest version: 1.6.3)
WPUpper Share Buttons: version: 3.37.0, author: Victor Freitas (latest version: 3.40.1)
Yoast SEO: version: 11.3, author: Team Yoast (latest version: 13.1)### wp-plugins-inactive (5) ###
Ad Inserter: version: 2.6.2, author: Igor Funa (latest version: 2.6.3)
AdSense Integration WP QUADS: version: 1.8.8, author: Rene Hermenau, WP-Staging
Akismet Anti-Spam: version: 4.0.8, author: Automattic (latest version: 4.1.3)
Google Analytics Dashboard for WP (GADWP): version: 5.3.7, author: ExactMetrics (latest version: 6.0.1)
Hello Dolly: version: 1.7, author: Matt Mullenweg (latest version: 1.7.2)### wp-media ###
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1684
imagemagick_version: ImageMagick 6.9.4-10 Q16 x86_64 2017-05-23 https://www.imagemagick.org
imagick_limits:
imagick::RESOURCETYPE_AREA: 503 GB
imagick::RESOURCETYPE_DISK: 1.844674407371E+19
imagick::RESOURCETYPE_FILE: 37500
imagick::RESOURCETYPE_MAP: 503 GB
imagick::RESOURCETYPE_MEMORY: 252 GB
imagick::RESOURCETYPE_THREAD: 1
gd_version: bundled (2.1.0 compatible)
ghostscript_version: 9.25### wp-server ###
server_architecture: Linux 3.10.0-962.3.2.lve1.5.26.5.el7.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 7.0.33 64bit
php_sapi: litespeed
max_input_variables: 5000
time_limit: 120
memory_limit: 256M
max_input_time: 120
upload_max_size: 128M
php_post_max_size: 128M
curl_version: 7.62.0 OpenSSL/1.0.2k
suhosin: false
imagick_availability: true
htaccess_extra_rules: false### wp-database ###
extension: mysqli
server_version: 5.5.5-10.2.30-MariaDB
client_version: mysqlnd 5.0.12-dev – 20150407 – $Id: b5c5906d452ec590732a93b051f3827e02749b83 $### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/u474770197/domains/revistatecnologia360.com.br/public_html/wp-content
WP_PLUGIN_DIR: /home/u474770197/domains/revistatecnologia360.com.br/public_html/wp-content/plugins
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_LOCAL_DEV: undefined### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable`
Web Hosting Provider: Hostinger
URL: revistatecnologia360.com.br
@pedrosemedosantos Can you open a new support topic as per WordPress support forum guidelines? We can assist you from there.
@themout Let me know if you were able to get connected by following the suggested steps.
I performed the reset; uninstalled; reinstalled in a incognito browser window and still have same issue after reinstall.
====================================
Site Health:
`
### wp-core ###version: 5.3.2
site_language: en_US
user_language: en_US
timezone: America/Chicago
permalink: /%category%/%postname%/
https_status: true
user_registration: 0
default_comment_status: open
multisite: false
user_count: 2
dotorg_communication: true### wp-paths-sizes ###
wordpress_path: /home2/themoutn/domains/internetgaminginfo.com/public_html
wordpress_size: 38.43 MB (40294148 bytes)
uploads_path: /home2/themoutn/domains/internetgaminginfo.com/public_html/wp-content/uploads
uploads_size: 21.38 MB (22415510 bytes)
themes_path: /home2/themoutn/domains/internetgaminginfo.com/public_html/wp-content/themes
themes_size: 2.97 MB (3119410 bytes)
plugins_path: /home2/themoutn/domains/internetgaminginfo.com/public_html/wp-content/plugins
plugins_size: 57.55 MB (60340882 bytes)
database_size: 12.39 MB (12991481 bytes)
total_size: 132.71 MB (139161431 bytes)### wp-dropins (1) ###
advanced-cache.php: true
### wp-active-theme ###
name: Alpha Forte (alpha-forte)
version: 1.0.2
author: Alpha WP Themes
author_website: https://www.alphawpthemes.com
parent_theme: none
theme_features: menus, post-thumbnails, automatic-feed-links, widgets
theme_path: /home2/themoutn/domains/internetgaminginfo.com/public_html/wp-content/themes/alpha-forte### wp-themes-inactive (2) ###
Twenty Nineteen: version: 1.4, author: the WordPress team
Twenty Twenty: version: 1.1, author: the WordPress team### wp-plugins-active (24) ###
Add Posts to Pages: version: 1.4.1, author: Arsham Mirshah
Akismet Anti-Spam: version: 4.1.3, author: Automattic
Classic Editor: version: 1.5, author: WordPress Contributors
Cloudflare: version: 3.4.1, author: John Wineman, Furkan Yilmaz, Junade Ali (Cloudflare Team)
Compliance Bar: version: 1.1.16, author: Anton Nadilo & Jon Shawcross
Download Plugins and Themes from Dashboard: version: 1.6.0, author: Algoritmika Ltd
Duplicator: version: 1.3.28, author: Snap Creek
Favicon Rotator: version: 1.2.7, author: Archetyped
Google Analytics: version: 2.2.5, author: ShareThis
iThemes Security: version: 7.6.1, author: iThemes
iThemes Sync: version: 2.1.3.1, author: iThemes
Official StatCounter Plugin: version: 2.0.6, author: Aodhan Cullen
Really Simple SSL: version: 3.2.9, author: Rogier Lankhorst, Mark Wolters
Shortcodes Ultimate: version: 5.7.0, author: Vladimir Anokhin
Show The URL: version: Beta v1.19, author: Anton Nadilo & Jon Shawcross
Site Kit by Google: version: 1.3.1, author: Google
Sitemap by BestWebSoft: version: 3.2.2, author: BestWebSoft
Social Link Machine: version: 0.1.58, author: Dr. Max V
Widget Context: version: 1.2.0, author: Kaspars Dambis
WP-SpamShield: version: 1.9.21, author: Red Sand Media Group
WP Blazer: version: 1.0.14, author: Touch Logic Technologies Pvt Ltd.
WP Fastest Cache: version: 0.9.0.3, author: Emre Vona
WP User Avatar: version: 2.2.4, author: flippercode
WP Zero Bounce Simple Unlimited Domains: version: 1.4, author: Forcespark### wp-media ###
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1800
imagemagick_version: ImageMagick 7.0.8-67 Q16 x86_64 2019-11-19 https://imagemagick.org
imagick_limits:
imagick::RESOURCETYPE_AREA: 251 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 37500
imagick::RESOURCETYPE_MAP: 251 GB
imagick::RESOURCETYPE_MEMORY: 126 GB
imagick::RESOURCETYPE_THREAD: 32
gd_version: bundled (2.1.0 compatible)
ghostscript_version: 9.07### wp-server ###
server_architecture: Linux 3.10.0-962.3.2.lve1.5.26.2.el7.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 7.2.24 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 30
memory_limit: 256M
max_input_time: 60
upload_max_size: 64M
php_post_max_size: 64M
curl_version: 7.67.0 OpenSSL/1.0.2k-fips
suhosin: false
imagick_availability: true
htaccess_extra_rules: true### wp-database ###
extension: mysqli
server_version: 10.3.20-MariaDB
client_version: mysqlnd 5.0.12-dev – 20150407 – $Id: 3591daad22de08524295e1bd073aceeff11e6579 $### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home2/themoutn/domains/internetgaminginfo.com/public_html/wp-content
WP_PLUGIN_DIR: /home2/themoutn/domains/internetgaminginfo.com/public_html/wp-content/plugins
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_LOCAL_DEV: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable====================================
Current web hosting provider: LifeTime Hosting
====================================
Site URL: https://internetgaminginfo.com
@themout Thanks for the update, very useful. Can you follow the steps below and inform me if you are able to get connected?
– Temporarily deactivate the Google Analytics, iThemes and WP Fastest Cache plugins
– Reset Site Kit
– Connect Site Kit from a browser incognito windowBe sure to connect the same plugins once again after testing. Let me know if the above allows you to proceed.
@themout Did you get a chance to test setup after following the suggested steps above?
If that fails can you inform me of the below:
– Have you been able to use Site Kit previously, or with another site on the same hosting plan?
– What Site Kit modules do you have active when this issue arises?I sincerely appreciate the level of support and attention you are giving this. I have not had time to try your next set of recommended steps yet. I have been very busy with work. I hope to get to this tonight but, if I don’t, rest assured it will be as soon as I possibly can.
Regards,
Terry
The site kit is now fully installed thanks to you. ??
I have also re-enabled the iThemes and WP Fastest Cache plugins and checked the site kit in a normal browser – all appears to be good.
I’m also assuming now that site kit is installed, the Google Analytics plugin can be removed. Unless I hear otherwise, I will leave deactivated and will remove it soon.
To answer one of your questions – yes, I do have the site kit enabled and functional on some other sites on same hosting provider. And those installs were less tricky than this one. I had to uncheck option in iThemes to “Filter Long URL Strings” in the System Tweaks section and install/configure site kit in an incognito window for those to work but that was not enough with this implementation of the plugin.
Thanks again. Very much appreciated.
Regards,
Terry
@themout Thanks for the update, glad to hear you were able to get successfully connected. And correct, if you prefer to use Site Kit to place your Analytics code that’s no problem. You can use other Analytics implementations or plugins if you prefer.
For the other sites it would be great to know more about the setup issues you encountered. When you mentioned you had to uncheck the iTheme Security option “Filter Long URL Strings” was this with the latest version of Site Kit?
Yes – it was with latest version (v1.3.1). If you do not uncheck “Filter Long URL Strings” in iThemes plugin, when Site Kit tries to obtain authorization to connect to your Google Analytics account, it will fail – you will get this error when it send the call https://<your-domain>/?oauth2callback=1&authuser=0&code=4%2FwwFoxsvmQU1Y1… (a very long string):
This page isn’t working
If the problem continues, contact the site owner.
HTTP ERROR 414FYI – I just installed and successfully installed Site Kit on another domain with same hosting company to gather the details for this post. This time, I did not have to install using an incognito browser. Uncheckecd the “Filter Long URL Strings” in iThemes plugin and installed/configured site kit with no issues. After installed and configured, I re-enabled the “Filter Long URL Strings” option in iThemes plugin and all is good.
@themout Many thanks for the update, very useful to know. I’ll keep a note of this for other users who encounter this issue.
I deactivated Google Analytics by ShareThis and after that it worked.
Prolly there can only be one plugin aktive with this service.
/Lasse
@gaspipe Thanks for the information. We are working on a fix for this at present, you can find out more below:
https://github.com/google/site-kit-wp/issues/1155
- The topic ‘Must call google.charts.load before google.charts.setOnLoadCallback’ is closed to new replies.