Error with wordfenceScanner.php
-
Hi there,
On one of my clients site WordFence isn’t finishing it’s scans anymore. The error message is like this:
“[Oct 31 09:11:56:1509437516.664007:1:error] Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1048577 bytes) in /var/www/vhosts/hulponlineoost.nl/httpdocs/wp-content/plugins/wordfence/lib/wordfenceScanner.php on line 317”I’ve looked around the internet for a way to solve this problem. I came across various ways to enlarge the server memory. First I increased it to 256MB, but it still failed with the same error. According to my hosting partner this is the maximum PHP memory for this subscription plan. Still, I increased the memory to 512MB, but it failed anyway.
Against all knowledge I even increased the memory to 1024MB and sure enough: the scan finished without errors! This surprised me, because as far as I know this amount of memory shouldn’t be available.
As far as I know no new plugins or themes are installed. So, I’m wondering: how can it be that WordFence previously finished the scans with only 40MB available, and now it needs 1024MB? If there would be some kind of problem with the site, shouldn’t WordFence find it after completing a scan?
The page I need help with: [log in to see the link]
- The topic ‘Error with wordfenceScanner.php’ is closed to new replies.