Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Mathieu Viet

    (@imath)

    No ??

    Is the user logged in ? Any other plugins activated ? What is the active theme ?

    Thread Starter Asitha

    (@asitha)

    Yes — the user is logged in, and I’ve tried deactivating all other plugins and the issue still persisted.

    Plugin Author Mathieu Viet

    (@imath)

    What is the active theme ?

    Thread Starter Asitha

    (@asitha)

    It’s a custom theme the previous developer created.

    Thread Starter Asitha

    (@asitha)

    Is there a way for me to see what is the actual error causing the issue?

    Thread Starter Asitha

    (@asitha)

    Also — just tried to change the theme to the Twenty Fifteen theme and got the same error.

    Plugin Author Mathieu Viet

    (@imath)

    Are you using https ?
    Eg https in the backend and regular http on the front end.
    You can try to see What’s going wrong using the WordPress debug mode WP_DEBUG set to true in wp-config.php Then with Chrome Browser display the inspector activate its network tab and see the response content that admin-ajax.php is returning

    Thread Starter Asitha

    (@asitha)

    I’m using HTTPS on both the front and back end of the site.

    I’ve turned on WP_DEBUG, but there aren’t any errors displayed that relate to the plugin.

    Plugin Author Mathieu Viet

    (@imath)

    I think it’s the https thing. I’ll try to understand why this is happening.

    Plugin Author Mathieu Viet

    (@imath)

    Hi @asitha

    Sorry for the delay, i think i’ve found the issue. In the file wp-idea-stream/includes/ideas/functions.php at line 872 (see https://plugins.trac.www.ads-software.com/browser/wp-idea-stream/trunk/includes/ideas/functions.php#L872), could you try to remove the , 'relative' part i’m using in the admin_url() function so that it will look like (once removed) :

    'ajaxurl' => admin_url( 'admin-ajax.php' ),

    If it’s fixing your issue, i’ll run a bunch of tests on multisite to see if no regressions and will include this fix in next version.

    Thanks in advance for your help.

    Thread Starter Asitha

    (@asitha)

    Unfortunately that did not work either. I even tried to change it from ‘relative’ to ‘https’ which did not help either.

    Plugin Author Mathieu Viet

    (@imath)

    That is amazing!

    If you go in WP Admin > Medias are you able to use the new UI to fetch the medias, or are u able to edit a comment directly from WP DashBoard. In other words are you able to use AJAX in back end ?

    Plugin Author Mathieu Viet

    (@imath)

    I’ve turned on WP_DEBUG, but there aren’t any errors displayed that relate to the plugin.

    Having the network tab of the chrome inspector active ?

    Thread Starter Asitha

    (@asitha)

    Ajax works fine in the backend. I was able to fetch media etc from there.

    As for the network tab in inspector, when I click to vote it shows admin-ajax being loaded each time I click it. Returns a status 200 OK.

    Thread Starter Asitha

    (@asitha)

    Hi there,

    Were you able to figure anything out on this?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Can't Vote: Error "OOps, something went wrong"’ is closed to new replies.