• Resolved dee_c

    (@dee_c)


    I would like for registered users to be able to rate, but for some reason only the admin and non-registered visitors can rate. When registered users click the voting button, the following error loads: Oops! You do not have sufficient permissions to access this page. It makes no sense to me. I’ve spent hours trying to find a solution. Any help would be appreciated.

    I’ve disabled all other plugins.

    https://www.ads-software.com/plugins/wp-postratings/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Lester Chan

    (@gamerz)

    What is your site URL with the problem? The error seems to be coming from WP and not the plugin.

    Thread Starter dee_c

    (@dee_c)

    I disabled the plugin on my main site. Here is my staging site:
    https://dev.writersonsocial.com

    Plugin Author Lester Chan

    (@gamerz)

    I am still waiting for my account to be activated: lesterchan

    Does it work on the default theme? I got a feeling it is a JS error on your end (related to your theme)

    Thread Starter dee_c

    (@dee_c)

    Sooo sorry. I’ve been replying to the messages via email. No wonder you didn’t respond.

    Please sign in with this pass: &WOSdev1!

    Regarding the theme: Someone with the same theme was suggesting your plugin as the one to use for ratings. That’s why I’m surprised that I’m having problems with it.

    Plugin Author Lester Chan

    (@gamerz)

    Weird, I not too sure why you are getting that, because the error does not come from the plugin. I am guessing there are other plugins that is stopping this from happening?

    You sure you have disabled all other plugins and switched to the default theme? Try Googling for it, https://www.google.com.sg/search?q=”Oops!+You+do+not+have+sufficient+permissions+to+access+this+page

    Thread Starter dee_c

    (@dee_c)

    Hi Lester,

    I’ve searched extensively on Google. All problems seem to be about accessing the wp-admin. Nothing like what I’m experiencing.

    I deactivated all the other plugins and then deleted them… WP-Postratings still won’t work for logged-in users.

    Plugin Author Lester Chan

    (@gamerz)

    Yeap the AJAX calls are to wp-admin/admin-ajax.php (there is no way around it, it is how WP works).

    Thread Starter dee_c

    (@dee_c)

    Is there any code I can change that gives permissions to logged-in users to rate? I don’t understand how guests can but users can’t.

    Plugin Author Lester Chan

    (@gamerz)

    Your dev site doesn’t seem to be using the default theme or all the plugins activated except WP-PostRatings.

    Are you using some membership plugin or something? I just tested on my site and I can’t reproduce the problem.

    1. I registered a new user as “Subscriber” Role
    2. Under Rating Options, I set “Who Is Allowed To Rate?” to “Registered Users Only”
    3. I went to rate and it works fine.

    My gut feeling is that you will have problem with all AJAX calls on the front end not just this plugin only.

    Thread Starter dee_c

    (@dee_c)

    No, there is no other plugin. I just created a new user as well and it didn’t work. (Did you use the five-star rating? That’s a theme default. I just turned that off so it wouldn’t be confusing. The wp-post rating is the single star option.)

    Thread Starter dee_c

    (@dee_c)

    You’re right! I tried another rating plugin and I got the same error message.

    Thread Starter dee_c

    (@dee_c)

    Okay, I tried a fresh install of WordPress with only my theme and your plugin uploaded and the ratings didn’t work for the subscriber account. I’ll have to contact the theme creators. Thanks so much for your help, Lester. You were very responsive. I appreciate it.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Error when voting: You do not have sufficient permissions’ is closed to new replies.