WP Statistics
[resolved] Fatal error (5 posts)

  1. Ovidiu Nicolae
    Posted 2 years ago #


    first of all thank you for this excellent plugin. I have been using it on many of my websites but on one of them I got a fatal error when trying to access the statistics page:

    Fatal error: Out of memory (allocated 24641536) (tried to allocate 7168 bytes) in /homepages/32/d356454330/htdocs/mysite/wp-content/plugins/wp-statistics/includes/class/pagination.class.php on line 217

    I tried deleting and reinstalling the plugin, but that didn't solve the problem.

    Thank you!


  2. knome
    Posted 2 years ago #

    I believe I've hit the same bug. The plugin is doing massive database pulls (whole tables with 50k+ results) and this is ultimately exhausting any amount of memory.

    Waiting for an update with memory optimizations.

  3. Mostafa Soufi
    Plugin Author

    Posted 2 years ago #

    Hi, The table of values ​​is probably too much.
    The next version will be more optimized.

    please use this define in wp-config.php
    define('WP_MEMORY_LIMIT', '64M');

  4. knome
    Posted 2 years ago #

    Unfortunately, allocating more memory only fixes the bug for so long. For me, this issue is not resolved until the plugin carries optimizations.

    Anyway, thanks for replying. Will be waiting for the new version.

  5. Mostafa Soufi
    Plugin Author

    Posted 2 years ago #

    Yes, that's right :)
    I will definitely think about it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Statistics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.