• Resolved harpo1984

    (@harpo1984)


    Hi WPMU Dev,

    WP Rocket’s most recent version 3.3.6 causes a white screen of death to users that are not logged into the website, when Hustle 7.0.0.1 is also active.

    The previous version of WP Rocket worked with the current version of Hustle without the issue. As Hustle has not updated, I am assuming the issue is a result of the WP Rocket update.

    However, I would be keen for you also to investigate this from your end as well, if possible, please?

    Kind regards,

    Simon

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter harpo1984

    (@harpo1984)

    As an update, I was able to resolve this by excluding all the JS files in the plugin and if it helps others in future, the files to exclude are:

    /wp-content/plugins/wordpress-popup/assets/js/(.*).js
    /wp-content/plugins/wordpress-popup/assets/js/vendor/(.*).js
    /wp-content/plugins/wordpress-popup/assets/js/vendor/ace/(.*).js
    /wp-content/plugins/wordpress-popup/assets/js/vendor/chartjs/(.*).js
    /wp-content/plugins/wordpress-popup/assets/js/vendor/fitie/(.*).js
    /wp-content/plugins/wordpress-popup/lib/free-dashboard/admin.js
    /wp-content/plugins/wordpress-popup/lib/wpmu-lib/js/(.*).js
    /wp-content/plugins/wordpress-popup/lib/wpmu-lib/js/vendor/select2/select2.js
    /wp-content/plugins/wordpress-popup/assets/hustle-ui/js/hustle-ui.min.js
    /wp-content/plugins/wordpress-popup/assets/shared-ui/(.*).js

    These exclusions only work if you are using WP Rocket and the JS Minification option is enabled.

    Kind regards,

    Simon

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Simon,

    Glad to hear you found a solution and thanks for sharing it here.
    I don’t have WP Rocket to test this with so did you perhaps get any information from them about which change in latest version caused this?

    Cheers,
    Predrag

    Thread Starter harpo1984

    (@harpo1984)

    Hi Predrag,

    Nope, I didn’t submit a ticket with them as their exclusions work. So I would assume it’s a feature their end, rather than a bug or conflict.

    I could be wrong though.

    Kind regards,

    Simon

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Simon,

    I’ve still tasked this for our devs to check it out and see what might be going on.
    It’s never a good thing to be greeted with a white screen so they’ll further check if there’s anything that could be done from our end to prevent this ??

    Cheers,
    Predrag

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi Simon,

    We were doing some tests on our end but I’m afraid that we were unable to replicate this issue.
    I’m guessing that there is something specific on your site that is triggering this and if you have couple of minutes to check few things we would really appreciate it ??

    Could you export your Popup/Slide-in/Embed, upload them to any file sharing service like dropbox or GDrive and share the download link so we can try test with same modules?

    Also, could you enable debug log on your site and remove the file exclusions from WP Rocket just for a minute so we can see if there’s any info in logs that could tell us what is causing the white screen?

    You can enable debug log in your wp-config.php file (located in root WP folder) by replacing define(‘WP_DEBUG’, false); with this code:

    
    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set( 'log_errors', 1 );
    @ini_set( 'display_errors', 0 );
    

    Remove exclusions from WP Rocket and visit the site to see the white screen, this should create debug.log file in your wp-content folder that could tell us what is going on.

    Cheers,
    Predrag

    Thread Starter harpo1984

    (@harpo1984)

    Hi Predrag,

    Sorry for the delay on this.

    No errors in console and no errors produced in the log files either when the issue occurs.

    After further debugging. I discovered the error and it’s HTML minification. Once it’s turned on in WP Rocket, the combination with Hustle instigates the White Screen of Death.

    The solution is simply to turn HTML minification off in WP Rocket.

    Kind regards,

    Simon

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP Rocket 3.3.6 & Hustle cause Whitescreen of Death’ is closed to new replies.