I create a new role for editing custom post type like an author.
Everything works great but I have this message when I upload images : “error while sending.please try later”.
The preview doesn’t wok and it’s seems like it failed but when I update the custom post the image is in the media.
I tried desactivate the others plugin, but it doesn’t change anything.
It’s only working in administrator role.
I tried to change the permission in asyn-upload.php and in ajax-actions.php, to desactivate the security “if ( ! current_user_can( ‘edit_page’, $post_ID ) )”… but the error is still there.
Any help ?
Show the exact error message. I can not find ‘error while sending’ at WordPress code.
What’s happened if your upload image by user with WP built-in ‘editor’ role?
Hi,
The message is in french :”Une erreur est survenue lors de l’envoi. Veuillez réessayer plus tard.” so the english traduction is “An error occured when sending . Please try again later.”
When I use Editor role it doesn’t work (I try in custom post type I create). Only admin is working.
My wordpress and extensions are all updated.
Thank your for your help.