Site Kite error when i click Adsense: e.replace is not a function
-
I”m getting this error when i install Site Kit and clikc Adsense
How can i fix it ?
e.replace is not a function
in t in u in div in t in div in div in div in div in t in Unknown in WithFilters(t) in tThe page I need help with: [log in to see the link]
-
@dredream Thanks for raising this issue. In order for us to investigate and hopefully resolve this issue can you share the following:
– Your Site Health information
– Who you are using for web hosting
– Did this issue just occur since updating to the latest version of the plugin?I just start using site kit
I’m using WordPress hosting from Namecheap.com
Site Health Info
### wp-core ### version: 5.3.2 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%postname%/ https_status: true user_registration: 0 default_comment_status: closed multisite: false user_count: 2 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /var/www/wptbox wordpress_size: 58.85 MB (61706102 bytes) uploads_path: /var/www/wptbox/wp-content/uploads uploads_size: 2.52 GB (2707956965 bytes) themes_path: /var/www/wptbox/wp-content/themes themes_size: 6.49 MB (6802816 bytes) plugins_path: /var/www/wptbox/wp-content/plugins plugins_size: 64.61 MB (67745019 bytes) database_size: 26.92 MB (28229632 bytes) total_size: 2.68 GB (2872440534 bytes) ### wp-dropins (1) ### object-cache.php: true ### wp-active-theme ### name: Newsmag (Newsmag) version: 4.9.2 author: tagDiv author_website: http://themeforest.net/user/tagDiv/portfolio parent_theme: none theme_features: amp, post-formats, post-thumbnails, automatic-feed-links, html5, woocommerce, bbpress, editor-font-sizes, editor-style, menus, widgets theme_path: /var/www/wptbox/wp-content/themes/Newsmag ### wp-themes-inactive (4) ### Twenty Nineteen: version: 1.4, author: the WordPress team Twenty Seventeen: version: 2.2, author: the WordPress team Twenty Sixteen: version: 2.0, author: the WordPress team Twenty Twenty: version: 1.0, author: the WordPress team (latest version: 1.1) ### wp-mu-plugins (1) ### EasyWP Plugin: version: 0.4.8, author: Namecheap, Inc. ### wp-plugins-active (21) ### Alexa Certify: version: 4.1.2, author: Alexa Internet AMP: version: 1.4.2, author: AMP Project Contributors Easy AdSense Ads & Scripts Manager: version: 0.55, author: Satish Gandham <hello@satishgandham.com> Envato Market: version: 2.0.3, author: Envato Envato Toolkit: version: 1.4, author: KestutisIT Infolinks Official Plugin (customized): version: 3.2.3, author: Infolinks OneSignal Push Notifications: version: 2.1.0, author: OneSignal Quick Adsense: version: 2.5, author: Quicksense Really Simple SSL: version: 3.2.9, author: Rogier Lankhorst, Mark Wolters Share Post On WhatsApp: version: 1.0.0, author: Aftab Husain Site Kit by Google: version: 1.2.0, author: Google Statebuilt Facebook Page Like Popup: version: 2.0.2, author: Chris Hammond Taboola: version: 1.0.9, author: Taboola tagDiv Composer: version: 2.5 | built on 16.01.2020 10:04, author: tagDiv tagDiv Mobile Theme: version: 1.3 | built on 14.01.2020 15:26, author: tagDiv tagDiv Social Counter: version: 4.7 | built on 16.01.2020 14:25, author: tagDiv WP-PageNavi: version: 2.93.1, author: Lester 'GaMerZ' Chan Wpdevart Social comments: version: 1.9.6, author: wpdevart WP Maintenance Mode: version: 2.2.4, author: Designmodo WP REST API Controller: version: 2.0.3, author: YIKES, Inc. Yoast SEO Premium: version: 11.7, author: Team Yoast ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-39 Q16 x86_64 2019-04-08 https://imagemagick.org imagick_limits: imagick::RESOURCETYPE_AREA: 63 GB imagick::RESOURCETYPE_DISK: 9223372036854775807 imagick::RESOURCETYPE_FILE: 786432 imagick::RESOURCETYPE_MAP: 256 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 6 gd_version: bundled (2.1.0 compatible) ghostscript_version: unknown ### wp-server ### server_architecture: unknown httpd_software: nginx/1.14.2 php_version: 7.3.0 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 300 memory_limit: 1073741824 max_input_time: 60 upload_max_size: 512M php_post_max_size: 512M curl_version: 7.61.1 LibreSSL/2.0.0 suhosin: false imagick_availability: true ### wp-database ### extension: mysqli server_version: 10.1.32-MariaDB client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 401a40ebd5e281cf22215acdc170723a1519aaa9 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /var/www/wptbox/wp-content WP_PLUGIN_DIR: /var/www/wptbox/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 mu-plugins: not writable@dredream Thanks for the update. Can you inform me whether the error remains after following the steps below:
1. Disconnect the AdSense module
2. Temporarily deactivate the following plugins:
– Easy AdSense Ads & Scripts Manager
– Quick Adsense
3. Connect the AdSense module once more using a browser incognito window@jamesosborne I did that and I’m still getting the same error
@dredream Thanks for the update. In order to troubleshoot further can you share any XHR responses on the AdSense dashboard screen where you encounter the error?
@jamesosborne View ScreenShot of what i’m seeing when i do that
{“code”:400,”message”:”Restricted metric(s): ga:adsenseRevenue, ga:adsensePageImpressions, ga:adsenseECPM can only be queried under certain conditions.\nFor details see https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/dimsmets.”,”data”:{“status”:500,”reason”:”badRequest”}}
{“modules::adsense::earnings::e6a23163cd3fc119c2c2dd7336409c78”:{“averages”:[“21.65″,null,”53896″],”endDate”:”2020-02-02″,”kind”:”adsense#report”,”rows”:[[“21.65″,”1.42″,”53896″]],”startDate”:”2020-02-02″,”totalMatchedRows”:”1″,”totals”:[“21.65″,”1.42″,”53896″],”warnings”:[“Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”],”headers”:[{“currency”:”USD”,”name”:”EARNINGS”,”type”:”METRIC_CURRENCY”},{“currency”:”USD”,”name”:”PAGE_VIEWS_RPM”,”type”:”METRIC_CURRENCY”},{“currency”:null,”name”:”IMPRESSIONS”,”type”:”METRIC_TALLY”}]},”modules::adsense::earnings::a7be42621010ad758d66a22d67416f78″:{“averages”:[“34.56″,null,”60236″],”endDate”:”2020-01-27″,”kind”:”adsense#report”,”rows”:[[“34.56″,”1.49″,”60236″]],”startDate”:”2020-01-27″,”totalMatchedRows”:”1″,”totals”:[“34.56″,”1.49″,”60236″],”warnings”:[“Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”],”headers”:[{“currency”:”USD”,”name”:”EARNINGS”,”type”:”METRIC_CURRENCY”},{“currency”:”USD”,”name”:”PAGE_VIEWS_RPM”,”type”:”METRIC_CURRENCY”},{“currency”:null,”name”:”IMPRESSIONS”,”type”:”METRIC_TALLY”}]},”modules::adsense::earnings::bc151ea9244a09b4178d2d1936dc272b”:{“averages”:[“304.49″,null,”659383″],”endDate”:”2020-02-02″,”kind”:”adsense#report”,”rows”:[[“304.49″,”1.36″,”659383″]],”startDate”:”2020-01-27″,”totalMatchedRows”:”1″,”totals”:[“304.49″,”1.36″,”659383″],”warnings”:[“Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”],”headers”:[{“currency”:”USD”,”name”:”EARNINGS”,”type”:”METRIC_CURRENCY”},{“currency”:”USD”,”name”:”PAGE_VIEWS_RPM”,”type”:”METRIC_CURRENCY”},{“currency”:null,”name”:”IMPRESSIONS”,”type”:”METRIC_TALLY”}]},”modules::adsense::earnings::adba27fd336f62b657a1f1b81975c523″:{“averages”:[“815.91″,null,”1339364″],”endDate”:”2020-01-26″,”kind”:”adsense#report”,”rows”:[[“815.91″,”1.63″,”1339364″]],”startDate”:”2020-01-20″,”totalMatchedRows”:”1″,”totals”:[“815.91″,”1.63″,”1339364″],”warnings”:[“Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”],”headers”:[{“currency”:”USD”,”name”:”EARNINGS”,”type”:”METRIC_CURRENCY”},{“currency”:”USD”,”name”:”PAGE_VIEWS_RPM”,”type”:”METRIC_CURRENCY”},{“currency”:null,”name”:”IMPRESSIONS”,”type”:”METRIC_TALLY”}]},”modules::adsense::earnings::8dda3739b67f9a5b10dc618ace6aea29″:{“averages”:[“67.03″,null,”154774″],”endDate”:”2020-02-03″,”kind”:”adsense#report”,”rows”:[[“67.03″,”1.53″,”154774″]],”startDate”:”2020-02-01″,”totalMatchedRows”:”1″,”totals”:[“67.03″,”1.53″,”154774″],”warnings”:[“Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”],”headers”:[{“currency”:”USD”,”name”:”EARNINGS”,”type”:”METRIC_CURRENCY”},{“currency”:”USD”,”name”:”PAGE_VIEWS_RPM”,”type”:”METRIC_CURRENCY”},{“currency”:null,”name”:”IMPRESSIONS”,”type”:”METRIC_TALLY”}]},”modules::adsense::earnings::f56fc5b6762d70191c3423c0c34018dd”:{“averages”:[null,null,null],”endDate”:”2019-02-28″,”kind”:”adsense#report”,”rows”:null,”startDate”:”2019-02-01″,”totalMatchedRows”:”0″,”totals”:[null,null,null],”warnings”:[“Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”],”headers”:[{“currency”:”USD”,”name”:”EARNINGS”,”type”:”METRIC_CURRENCY”},{“currency”:”USD”,”name”:”PAGE_VIEWS_RPM”,”type”:”METRIC_CURRENCY”},{“currency”:null,”name”:”IMPRESSIONS”,”type”:”METRIC_TALLY”}]},”modules::adsense::earnings::4d624fc436160bc59afb173d2ea99e06″:{“averages”:[“1870.65″,null,”1633670″],”endDate”:”2020-01-05″,”kind”:”adsense#report”,”rows”:[[“1870.65″,”2.70″,”1633670″]],”startDate”:”2019-12-09″,”totalMatchedRows”:”1″,”totals”:[“1870.65″,”2.70″,”1633670″],”warnings”:[“Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”,”Some of the requested ad clients do not support the requested combination of dimensions.”],”headers”:[{“currency”:”USD”,”name”:”EARNINGS”,”type”:”METRIC_CURRENCY”},{“currency”:”USD”,”name”:”PAGE_VIEWS_RPM”,”type”:”METRIC_CURRENCY”},{“currency”:null,”name”:”IMPRESSIONS”,”type”:”METRIC_TALLY”}]}}
@dredream Thanks for the information, very useful. I’ll follow up with the team and get back to you as soon as I have an update.
@jamesosborne ok thank you
@dredream I’ve added this to the plugins GitHub repository, you can keep track of it below:
https://github.com/google/site-kit-wp/issues/1092I’ll also update you here once we have more information.
@jamesosborne thanks for the update
any update ?
coz i have the same issue@zuecell If you want to open an individual support topic I can keep you posted. Alternatively you can keep watch of the related GitHub issue.
The topic ‘Site Kite error when i click Adsense: e.replace is not a function’ is closed to new replies.