Tagged: google Site Kit
-
AuthorPosts
-
November 5, 2019 at 3:43 am #1153863
Enfold seems to have a compatibility issue with the google site kit plugin when the theme is enabled the charts/graphs on the google site kit dashboard (in the WordPress admin screen ) do not load. If I switch to twenty nineteen theme they load. I have tried with all plugins deactivated and the issue is still present.
November 5, 2019 at 10:52 am #1153931Hey jacqueschoquette,
Thanks for the login details, I get this error message on the link you sent after logging in though:
Sorry, you are not allowed to access this page.
Best regards,
RikardNovember 5, 2019 at 6:20 pm #1154040Updated link sent in private content below
Or just click on “Site Kit” from that below the dashboard link.
You should be able to replicate this on any enfold install. This is a new plugin from google so you can expect to see a bunch of support requests for this coming in.
November 6, 2019 at 7:36 pm #1154404see update above
- This reply was modified 5 years, 1 month ago by jacqueschoquette.
November 11, 2019 at 4:39 am #1155472Hi,
Sorry for the delay. We are able to reproduce the issue on our end, but there are no errors in the console or any clues that can lead to the problem, so we are not really sure where to check. Have you tried asking the plugin authors about the issue? Please note that we don’t provide support for third party plugins, but we’ll try to help as much as possible.
Best regards,
IsmaelNovember 13, 2019 at 2:08 am #1156239I have a ticket open with them here
https://wordpress.org/support/topic/charts-graphs-not-displaying/
Other than trying to reset/reinstall the plugin all they can recommend is checking that WP REST API is enabled. Enfold does not disable that right?
November 15, 2019 at 9:09 am #1157092Hi,
Thank you for the update.
The theme doesn’t disable the WP REST API and it’s not using it either, so it’s probably not the issue. The API is already merged in the core, but you can use the following plugin to ensure that the endpoints are enabled.
// https://wordpress.org/plugins/wp-rest-api-controller/
Have you tried resetting the plugin? Create a restore point or a backup of the site first just in case.
Best regards,
IsmaelNovember 15, 2019 at 7:58 pm #1157276Thank your suggestion but the WP Rest API did not help. I have also followed all the troubleshooting suggestions from the Google Site Kit troubleshooting page including resting the plugin and reconfiguring while in incognito mode.
So far I am unable to get this plugin working on any of my enfold based websites.
Do you know if there would be a way to disable the plugin on and admin dashboard page?
Example when visiting this page in the dashbard
/wp-admin/admin.php?page=googlesitekit-dashboard¬ification=authentication_success&slug=analyticsCould I disable the theme?
As soon as I switch to another theme the plugin works without incident
November 18, 2019 at 1:33 pm #1157877I have the same problems as jacqueschoquette: no charts, no graphs on the site kit dashboard
November 19, 2019 at 10:00 pm #1158286Hi,
Unfortunately this is not something we can help. We do not know how this work, how things integrate with it and it is not related with our theme at all.
Best regards,
BasilisNovember 19, 2019 at 10:10 pm #1158292Understandable but I am just surprised that your theme resources are even loading on this dashboard page. It’s a WordPress admin dashboard page. Is there any way to block your theme resources from loading in certain admin screens?
This technically does not need to work with your theme it just needs to run on the admin dashboard page.
- This reply was modified 5 years, 1 month ago by jacqueschoquette.
November 25, 2019 at 1:44 am #1159737Hi,
Sorry for the delay. This is possible, but it will require a lot of modifications. If you want to proceed, try look for every instance of “avia_enqueue_script_conditionally” or “wp_enqueue_script” function in the theme and wrap them inside this conditional function.
if ($_GET['page'] != 'googlesitekit-dashboard') { // not a googlesitekit-dashboard page }
This ensures that scripts will only load in a nongooglesitekit-dashboard page.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.