• Resolved jimojon

    (@jimojon)


    Hello,

    I am experiencing a problem that seems very similar to the one described here :
    https://wordpress.org/support/topic/missing-site_id-or-site_code-during-setup/

    Uncaught Exception: Missing site_id or site_code parameter for setup URL.
    in /home/bas/web/app/plugins/google-site-kit/includes/Core/Authentication/Google_Proxy.php on line 139

    I’m using Bedrock (https://roots.io/bedrock/) and my admin is on https://[REDACTED]/wp/wp-admin/

    To my knowledge the plugin had not been installed previously.

    The site_code seems missing in the call stack:

    1. Google\S\C\A\Google_Proxy::setup_url(array)
      app/plugins/google-site-kit/includes/Core/Authentication/Setup.php:393
    2. Google\S\C\A\Setup::redirect_to_proxy('sitekit-[REDACTED]', array)
      app/plugins/google-site-kit/includes/Core/Authentication/Setup.php:304
    3. Google\S\C\A\Setup::handle_action_exchange_site_code('')
      wp-includes/class-wp-hook.php:324
    4. WP_Hook::apply_filters('', array)
      wp-includes/class-wp-hook.php:348
    5. WP_Hook::do_action(array)
      wp-includes/plugin.php:517
    6. do_action('admin_action_googles...y_exchange_site_code')
      wp-admin/admin.php:420
    7. require_once('/home/bas/web/app/wp-admin/admin.php')
      wp-admin/index.php:10

    Any help to fix this ?

    Thx

    Jonas

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter jimojon

    (@jimojon)

    Hello @adamdunnage. I was out of the office. Unfortunately, it still doesn’t work (same error).

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @jimojon No problem and sorry to hear that this hasn’t resolved the issue. I have asked for another check on your records so I will get back to you when I have an update. Do you get the same callback URL as you did previously?

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @jimojon One thing you could try while waiting for the checks is to add a www prefix to your site. This will then make Site Kit see this as a new installation. If you still encounter the same issue then this could point to the issue being at host/server level.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @jimojon We have checked your records once more and if you could try the following and let us know if you can complete setup that would be great:

    1. Go through the setup process as you have been trying previously.
    2. When you run into the issue, go to your URL bar and update the path so that it contains the full path i.e. “wp/wp-admin” and enter the new URL path.

    Does this allow you to continue through with setup? If not then please let me know and we can try something on our side which may help to get this moving in the right direction for you.

    Thanks for you patience with this.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @jimojon Do you still require assistance with this?

    Thread Starter jimojon

    (@jimojon)

    Hello @adamdunnage, Yes, it’s not fixed yet. I’ll come back to the subject soon.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @jimojon Thanks for confirming. I will await your next response.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @jimojon I just wanted to check back in with you for an update on this.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @jimojon As it’s been 2 weeks since we last heard from you, I will close this support topic. If you still require assistance or have any updates then please do let us know.

Viewing 9 replies - 16 through 24 (of 24 total)

The topic ‘“Missing site_id or site_code” during setup’ is closed to new replies.