Some roles can't upload media
-
Recently SOME roles within WordPress were able to upload media are now getting an error with uploads (jpgs).
“File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.”
The php.ini is set at:
upload_max_filesize = 64M;
post_max_size = 64M;I recently added the following to the php.ini:
memory_limit = 128M;
max_excecution_time = 600;
max_input_time = 600;In the wp-config.php it is set at:
/** Memory Limit */
define(‘WP_MEMORY_LIMIT’, ’64M’);I did create a phpinfo.php file and everything looks right.
In the admin or editor roles, we can upload the same images without an issue. The permissions on the author role didn’t change. I use User Role Editor, and do not see any changes. Therefore I believe it is a WordPress issue. Where do I find the permissions for Media Uploads?
Thank you,
Jim
The topic ‘Some roles can't upload media’ is closed to new replies.