• Resolved gguldens

    (@gguldens)


    Following this advice from my original post:

    Hi @gguldens
    
    It seems to me that you’ve found your traffic hits (page views) shown on your Jetpack Stats, were you logged-in on your Admin account when you’ve browsed those pages?
    
    It’s possible that you’ve enabled tracking traffic for logged-in users, this can be disabled by heading over to your Jetpack Dashboard → Settings → Traffic and scrolling to Site Stats to expand the settings.
    
    I hope this helps, but if you ever want to submit any feature request, you can do that here on the Jetpack repository.
    
    Best,

    I tried to turn off both contributor and Subscriber. Contributor turned off with no problems, but Subscriber generated a 400 error “Invalid Parameter(s): count_roles(Status 400). Subscriber is the only logged in role still active.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter gguldens

    (@gguldens)

    I tried enabling “Disable Vendor” and then disabling “Subscriber” and received the same error. Even enabling “Disable Vendor” as a single action and then reloading the page, when I tried to disable Subscriber I got the same error.

    Thread Starter gguldens

    (@gguldens)

    It seems that even trying to enable any Roles in the list below Subscriber is not working. Once I leave the page and return only Subscriber is enabled.

    Thread Starter gguldens

    (@gguldens)

    I just tried enabling Contributor role which appears just above Subscriber in the list and it enabled successfully. When I left and rejoined the page, the Contributor role was still showing as enabled.

    Disabling Contributor then leaving and rejoining the site reflected that Contributor had been successfully disabled.

    Enabling Customer, showed a “successfully enabled” pop-up message, but upon leaving the page and rejoining it, the Customer role was showing as not enabled.

    I am believing that there is some problem with the Subscriber role that is causing all lower in the list roles to not be able to be enabled.

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @gguldens,

    Thanks a lot for the troubleshooting steps you took, although I’m sorry you still have problems.

    I can’t find the thread you mentioned or your site URL. Could you please share them again so I can take a closer look at both?
     
    If you want it to remain private, you can also contact us via this contact form:
    Contact Support. Thanks!

    Thread Starter gguldens

    (@gguldens)

    Here is the link I am using to try and modify the logged-in users we are generating stats for: https://www2.goldysbrand.com/wp-admin/admin.php?page=jetpack#/traffic

    I cannot get a screen shot of the error because the pop-up with the error disappears when I try to do the screen shot.

    Under the Site Stats on the provided link, when I load the page, Subscriber is enabled and no other role is enabled. Below is the list of roles to collect stats on in the order they appear on the page.

    Administrator
    Editor
    Author
    Contributor
    <strong>Subscriber</strong>
    Customer
    Shop manager
    Store Vendor
    Disable Vendor
    Exempt Customer

    Subscriber is always enabled, but no other role is.
    I am wanting to also enable the Customer role, but no role below Subscriber in the list will enable.
    As a test, I enables Contributor–above Subscriber in the list and the pop-up said it was enabled. After loading the Dashboard and then navigating back to Jetpack>Settings>Traffic page and opening the Site Stats drop down, the Contributor was enabled along with Subscriber.

    My next test was to enable the Customer role ans once again the pop-up said it was enabled. After loading the Dashboard and then navigating back to Jetpack>Settings>Traffic page and opening the Site Stats drop down, the Contributor and Subscriber roles were enabled, but the Customer role was disabled.

    What is stopping me from enabling the Customer role? As stated earlier, EVERY role–because I tested all of them–below Subscriber in the list will not enable for collecting traffic statistics.

    Thread Starter gguldens

    (@gguldens)

    I did finally manage to capture the pop-up 400 error code message, but I have no way to sent the image to you through this forum.

    Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @gguldens

    Could you contact us via this contact form and mention this thread?

    Then when we reply there, you’ll be able to send us the screenshots.

    Thanks!

    Thread Starter gguldens

    (@gguldens)

    If you send me an email to the address in my jetpack registration, I will respond with the screenshot image. The contact form only allows links to screenshots which are also able to be put into here. I was looking to actually paste the image into an email.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    FYI, to post a screen shot here, upload it to imgur.com (free, no account required) and then link that here.

    Thread Starter gguldens

    (@gguldens)

    screen capture at https://imgur.com/a/9aXydnv

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @gguldens,

    I tried replicating your problem at my end, but it didn’t happen when toggling the roles on and off from the WordPress.com dashboard, with the direct link being https://wordpress.com/marketing/traffic/YOURWEBSITEURL

    Can you try do this from your WordPress.com dashboard as well? If you still have this problem in your wp-admin dashboard, there may be something else installed on the site that’s causing problems. Let’s go through the following troubleshooting steps to check for that:

    – Verify that all plugins are fully updated to the latest versions
    – Temporarily deactivate all plugins except Jetpack to see if there’s a plugin conflict. If the issue is resolved with all other plugins deactivated, you can reactivate plugins one by one to discover which plugin is causing the problem.
    – Clear your browser cache and cookies
    – Try a different browser
    – Check the PHP error logs on your web host server for any relevant errors. If you’re not sure how to check those logs, your web host can help you with that.
    – Check for JavaScript errors. If you’re not sure how to do that, you can follow this guide: https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis

    I know it’s a lot to check, but that can help narrow down the possible causes of the problem.

    Let me know what you find out and we’ll take it from there. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Jetpack > Traffic > Site Stats giver 400 error’ is closed to new replies.