• Resolved bengreenwood44

    (@bengreenwood44)


    Hi,

    I’m having trouble with autoptimze.

    It is causing my posts page to fail to load (blank white screen)

    The posts page starts working if i’m logged into the admin page (because autoptimize is disabled for logged in users)

    OR

    If i deactivate the plugin.

    I’ve gone through the AO options disabling JS, CSS, HTML but the posts page stays blank.

    Any assistance would be greatly appreciated

    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hey Ben;
    At first sight the problem is only with the blog overview page; the HTML of that one is almost 1MB of text and that likely triggers a stack overflow in one of the many regular expressions Autoptimize uses. I see a significant part of the HTML is a big chunk of JS-data (wgl_parallax_settings) which seems to be for an elementor element, if this is an option try disabling that to confirm this as a contributing factor/ cause.

    As a workaround try below code that will disable AO on the blog overview page:

    
    add_filter( 'autoptimize_filter_noptimize', function(){ 
      if ( is_home() ) { 
        return true; 
      } else { 
        return false;
      }
    } );

    hope this helps,
    frank

    Thread Starter bengreenwood44

    (@bengreenwood44)

    Thank you so much!!

    that worked great, all seems to be working correctly now

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress posts page blank white screen’ is closed to new replies.