lbandy

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Popups don't finish loading #6480

    lbandy
    Free User
    Post count: 3

    Meanwhile I did a quick search and found a topic on stackoverflow:
    https://stackoverflow.com/questions/9408334/wordpress-admin-ajax-results-in-error-302-redirect

    The issue was caused by a snippet I added from the bbPress codex recently:
    /**
    * Redirect back to homepage and not allow access to
    * WP backend for Subscribers.
    */
    function rkk_redirect_admin(){
    if ( ! current_user_can( ‘edit_posts’ ) ){
    wp_redirect( site_url() );
    exit;
    }
    }
    add_action( ‘admin_init’, ‘rkk_redirect_admin’ );

    Removing this snippet made the plugin to work correctly. Thanks again for your help!

    in reply to: Popups don't finish loading #6479

    lbandy
    Free User
    Post count: 3

    Hi Patrik,

    Thanks for looking into the issue. Could you elaborate please how you were able to see the error message? Also could you mention what’s the url the plugin uses to reach admin-ajax.php exactly, so I can take a look at our server config to see if it falls into any redirect directives?

    Thanks again!

    in reply to: Popups don't finish loading #6477

    lbandy
    Free User
    Post count: 3
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)