Viewing 2 replies - 1 through 2 (of 2 total)
  • I also ran into the same issue this morning.

    It appears to be a memory exhaustion error:

    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16384 bytes) in /wp-content/plugins/simple-history/index.php on line 1584

    I tried bumping up the allow memory via wp-config but did not make any difference.

    The line which is failing is parsing the DB results form the simple_history table. Could it be the plugin does not know how to effectively handle massive results?

    Cheers

    Plugin Author P?r Thernstr?m

    (@eskapism)

    Yes, that could be the reason. It always loads the whole history into memory, before doing any pagination and so on. It has a setting that is to clear items older then 60 days (if I remember correctly..) automaticly. If you have disabled that or if you log many things it could be using lots of memory.

    This is a bad thing that is fixed in the next major version of the plugin (version 2).

    Until then you can try to for example set the clear interval to something shorter, like this:

    function my_days_interval($days) {
      return 5;
    }
    
    add_filter("simple_history_db_purge_days_interval", my_days_interval);

    Hope that helps and sorry for the inconvenience.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple History Disabling My Admin’ is closed to new replies.