Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] GeneratePress S2Member PROBLEM! :(

Home Forums Support [Resolved] GeneratePress S2Member PROBLEM! :(

Home Forums Support GeneratePress S2Member PROBLEM! :(

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
  • #375897

    I am running into my first real issues with Generatepress.

    We need the S2Member plugin and it only works if I disable Generate Press and use any of the generic WP themes.

    I can not configure S2Members. None of the buttons function. There seems to be a massive conflict with Javascript and CSS and maybe something else.

    This is a deal breaker and I hope we can resolve this by tomorrow night.

    I can give you anything but admin access. What do you need to start fixing this?

    Lead Developer
    Lead Developer

    If we can’t have admin access, you’ll have to do the debugging.

    On the page where none of the buttons are working (which buttons? which pages?), right click and click “Inspect” (using Chrome).

    Any red errors in the “Console” tab?

    Does the page work with the Twenty Seventeen theme activated?


    Hi Tom,
    and thanks for responding.

    S2Member starts working 100% as soon as I switch to the 2016 theme.

    Here is what the backend should look like:
    good image

    And here is what I get:

    I wonder if anyone is running Generatepress and S2Members and if yes, does it work?

    Hmm, is there a limit of one picture per post?


    Sorry, the second image does not want to link πŸ™

    Do you think reinstalling Generatepress might fix it?


    I’m running S2member with GeneratePress and it all works. You screenshot seems to indicate that the S2member plugin is failing to load its CSS files in the admin area. Look in you browser inspector to see if any files are giving 404 errors or mixed content warnings. I had a similar problem, but this was with s2member running a PHP script in the plugin directory (I ban PHP from running scripts here for security reasons). I fixed this by configuring the web server to allow the script to run.


    Reinstalling s2member would be the way to go


    Thanks Peter, I will check for errors.
    I reinstalled S2Member last night … no change.
    Emptied server cache, browser cache … nothing.


    Out of curiosity, I just installed TwentySeventeen and it works perfectly.
    My guess is that it’s GP related but … I have no clue what it could be.


    It does sound like it is GP related if S2member works with TwentySeventeen. You could try reinstalling GP and clearing the customizer settings (back them up first!). Did you check to see if any CSS files were failing to load?


    No red lines (error console).
    Again, I cleared the server and browser cache.

    I even disabled my .htaccess file temporarily. No go πŸ™

    School starts on Tuesday so I won’t have much time to troubleshoot this.
    If I can’t fix it, I have to grab another theme from somewhere.
    All I use is Elementor anyway so …. I am in a pinch.

    Thanks for helping Peter! πŸ™‚

    Lead Developer
    Lead Developer

    Thanks for helping, Peter!

    I’m afraid I would have to login to see what’s going on – otherwise we’ll just be guessing. There’s no way to give me temporary access?


    Good news!

    I just put the site in maintenance mode, deleted the GP Premium plugin and GP theme, flushed caches and reinstalled.

    S2Member is working! πŸ™‚

    Thanks guys! πŸ™‚


    I just want to take a moment and post what actually caused the mess.
    A while ago, I’ve added this code to the functions.php file to improve the pingdom score.
    Unfortunately, that caused S2Member to not load all required scripts.

    //hide jquery strings
    function _remove_script_version( $src ){
    $parts = explode( ‘?’, $src );
    return $parts[0];
    add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 );
    add_filter( ‘style_loader_src’, ‘_remove_script_version’, 15, 1 );

    remove_action(‘wp_head’, ‘print_emoji_detection_script’, 7);
    remove_action(‘wp_print_styles’, ‘print_emoji_styles’);

    remove_action( ‘admin_print_scripts’, ‘print_emoji_detection_script’ );
    remove_action( ‘admin_print_styles’, ‘print_emoji_styles’ );

    Lead Developer
    Lead Developer

    Glad you found the solution πŸ™‚

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.