Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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.

    #1153931

    Hey 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,
    Rikard

    #1154040

    Updated 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.

    #1154404

    see update above

    #1155472

    Hi,

    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,
    Ismael

    #1156239

    I 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?

    #1157092

    Hi,

    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,
    Ismael

    #1157276

    Thank 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&notification=authentication_success&slug=analytics

    Could I disable the theme?

    As soon as I switch to another theme the plugin works without incident

    #1157877

    I have the same problems as jacqueschoquette: no charts, no graphs on the site kit dashboard

    #1158286

    Hi,

    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,
    Basilis

    #1158292

    Understandable 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.

    #1159737

    Hi,

    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.