Wordfence preventing media uploads
-
Hi
Using latest version of WordPress and WordFence.
WordFence seems to be preventing image uploads on one of our websites.
Keep getting the error message:
“image.jpg
An error occurred in the upload. Please try again later.”If I deactivate Wordfence, media uploads work fine.
Has anyone had this issue before?
On another (potentially related) note. Also get a memory error:
“Fatal error: Out of memory (allocated 35913728) (tried to allocate 32 bytes) in …/public_html/wp-content/plugins/wordfence/lib/wordfenceHash.php on line 90”
I asked hosts to increase memory limit to 512mb.
The WordFence ‘Test your host’s available memory’ link output:
—
Wordfence Memory benchmarking utility version 6.0.22.
This utility tests if your WordPress host respects the maximum memory configured
in their php.ini file, or if they are using other methods to limit your access to memory.–Starting test–
Current maximum memory configured in php.ini: 512M
Current memory usage: 25.75M
Setting max memory to 90M.
Starting memory benchmark. Seeing an error after this line is not unusual. Read the error carefully
to determine how much memory your host allows. We have requested 90 megabytes.<b>Fatal error</b>: Out of memory (allocated 38797312) (tried to allocate 72 bytes) in <b>…/wp-content/plugins/wordfence/lib/wordfenceClass.php</b> on line <b>2821</b>
—
Any ideas?
Thanks,
Andy
- The topic ‘Wordfence preventing media uploads’ is closed to new replies.