• Resolved gdavide

    (@gdavide)


    I’m using aiowps 4.0.1 on wp 4.0.8 .
    When i try to run a file file scan, i always get the error:

    PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in /var/www/mysite/wp-includes/compat.php on line 121, referer: https://www.mysite.com/wp-admin/admin.php?page=aiowpsec_filescan

    I’ve raised the memory_limit on php.ini to 256Mb (double-checked with phpinfo(), the limit it’s applied) , then i’ve added:

    define(‘WP_MEMORY_LIMIT’,’256M’);
    define(‘WP_MAX_MEMORY_LIMIT’,’256M’);

    to the wp-config.php , restart httpd, but i still get the same error (event with 512Mb).
    How can i solve it?

    I’m using aiowps file scan on other websites without any problem.
    Regards

    https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, try the following. Disable all your other plugins except this one see what happens.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Is your issue resolve?

    Thread Starter gdavide

    (@gdavide)

    No, i’ve tryied to disable all the plugins but i still got the same erros. I’ve bypassed it by disable the “file scan” functions on aiowps

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, if you have already tried to disable all your other plugins without any success then there is some issue in your server.

    Have you contacted your host about this issue?

    Thread Starter gdavide

    (@gdavide)

    I’m the host! ??
    BTW: that’s a production server-site, so i cannot make too much test, i think that i will leave the “file scan” function disabled

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘memory exhausted on file aiowpsec_filescan’ is closed to new replies.