Support » Plugin: WP Statistics » Fatal error after updated WP Statistics

  • Resolved AmericanMales

    (@americanmales)


    Since updating to the latest version of WP Statistics, my statistics page has been completely broken with no Geomap and messed up tables. I receive a “Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 71 bytes) in /home/beisbols/public_html/wp-includes/functions.php on line 4318” error at the bottom of the page. I have reinstalled the plugin and the same result still occurs.

    https://wordpress.org/plugins/wp-statistics/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    You have run out of memory for the page, you need to increase your PHP memory limit.

    AmericanMales

    (@americanmales)

    The message I got from my hosting service “We limit each PHP process to ~100MB RAM, which greatly exceeds the limit that most hosting services set. You’re receiving this error because your stats script exceeds the memory limit set within our PHP configuration. The script will need to be optimized – likely by changing something within its settings – in order to resolve this.”

    Plugin Contributor Greg Ross

    (@gregross)

    I assume you are only seeing the error message on the overview page?

    If the hosting provider won’t increase your limit then you will have to purge some of the old data.

    AmericanMales

    (@americanmales)

    Yes, only on the overview page

    AmericanMales

    (@americanmales)

    I was incorrect. It also happens on the pages section of statistics.

    Plugin Contributor Greg Ross

    (@gregross)

    How many rows are in your pages tables?

    AmericanMales

    (@americanmales)

    I think it’s supposed to display top 10 pages.

    Plugin Contributor Greg Ross

    (@gregross)

    Go to the Optimization page, it will tell you how many rows are in each table in the database.

    AmericanMales

    (@americanmales)

    34,862 Row

    Plugin Contributor Greg Ross

    (@gregross)

    Can you double check the line number in the error message? There is no line 4318 in function.php.

    AmericanMales

    (@americanmales)

    “Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 81 bytes) in /home/beisbols/public_html/wp-includes/functions.php on line 4311” on the overview page

    “Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 32 bytes) in /home/beisbols/public_html/wp-includes/functions.php on line 4308” on the pages subpage

    Plugin Contributor Greg Ross

    (@gregross)

    Can you uninstall the plugin and install the older version that you were using?

    I’m not seeing anything obviously wrong and want to make sure that something in the it is not something in the data that is causing the issue.

    AmericanMales

    (@americanmales)

    Dumb question, but how do I find older versions? All I can find is the most recent.

    Plugin Contributor Greg Ross

    (@gregross)

    Older versions of the plugin can be found here: https://wordpress.org/plugins/wp-statistics/developers/

    AmericanMales

    (@americanmales)

    Went back to 8.0 and displays and seemingly works perfectly

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Fatal error after updated WP Statistics’ is closed to new replies.