Stats tab is blank.

Posted by: Deyson Ortiz

16th July 2020, 4:16 pm

Deyson Ortiz

@Deyson

16 Jul 2020
4:16 pm

Hello.

When I click on the Stats tab to download the email list the entire page goes blank.  I know this is Beta and had wanted to see if you knew of this before I deactivated all my plugins to see if there is a conflict.

Thank you and have an amazing day!

  • Richard Webster

    @rwebster

    16 Jul 2020
    4:19 pm

    Hi mate if the page goes full blank white screen there would be an error shown, if you enable WP debugging.

  • Deyson Ortiz

    @Deyson

    16 Jul 2020
    4:35 pm

    Hello,

    I turned on the debugging and I still get the blank page and it does not show me an error on the blank page.

  • Richard Webster

    @rwebster

    16 Jul 2020
    4:40 pm

    Did you do both of these?

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
  • Deyson Ortiz

    @Deyson

    16 Jul 2020
    9:15 pm

    Hello,

    The debugger is now working.  Thank you

    This is the error I had gotten:

    [16-Jul-2020 18:48:03 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /mmt-www/wp-includes/post.php on line 2326
    [16-Jul-2020 18:48:03 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 94208 bytes) in /mmt-www/wp-includes/functions.php on line 4609
    [16-Jul-2020 18:48:03 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    

    I had contacted my host and this was their response:

    I tried to reproduce the issue and indeed the Stats page won't load. Our apache error logs have no records of this (to be more specific the last error that was logged was on Jul 16 15:36:08 ) and since the Stats page of this plugin is in Beta, I strongly recommend to contact the plugin's developers in order to get it fixed.

    Please let me know what you think.

    Thank you and have an amazing day.

  • Richard Webster

    @rwebster

    16 Jul 2020
    9:19 pm

    Thanks mate that helps. Which version of my plugin are you using? I addressed some memory issues in the update this week with version 3.1.92, and added some workarounds.

    The problem is having lots of download logs, which you could clear using a plugin like Bulk Delete. Let me know about the above though first.

  • Deyson Ortiz

    @Deyson

    16 Jul 2020
    9:51 pm

    I just updated and still have the issue.

    It could be the list is too big, I had never cleared for a very long time.

    Is this the plugin you suggest? https://wordpress.org/plugins/bulk-delete/

  • Richard Webster

    @rwebster

    16 Jul 2020
    9:53 pm

    Yea mate. I'd recommend deleting in batches, starting from the beginning. Don't delete any within your download limit periods.

    Also using a plugin like Code Snippets you could add the following, which removes the displayed stats entirely, allowing you to just run reports.

    add_filter('somdn_stats_page_show_day', 'somdn_custom_disable_stats_option');
    add_filter('somdn_stats_page_show_week', 'somdn_custom_disable_stats_option');
    add_filter('somdn_stats_page_show_month', 'somdn_custom_disable_stats_option');
    add_filter('somdn_stats_page_show_top_10', 'somdn_custom_disable_stats_option');
    add_filter('somdn_stats_page_show_report_stats', 'somdn_custom_disable_stats_option');
    function somdn_custom_disable_stats_option() {
    	return false;
    }

    Last modified: 16th July 2020, 9:53 pm by Richard Webster

This topic is closed to new replies.

Looking for Square One Media? Check this post