How to fix this new fatal error
Hi all,
I have an error on my classipress site.
When my users (when they want to add an image) or me (on backoffice > media), there is this error :
"Fatal error: Out of memory (allocated 32243712) (tried to allocate 2592 bytes) in [...]/htdocs/
wp-includes/media.php on line 253"
It appear when the picture is a jpg/jpeg with more than 500k.
When i want to upload a GIF = no problem !
I have try to use a solution that i have find on the forum and i had make several modification on my php.ini file,
wp-config.php,
wp-setting.php but the problem is still here !
When i look on my file : media.php and line 253 :
I see : $image = imagecreatefromstring( file_get_contents( $file ) );
Do you know i can fixe this strange error ?
Thanks a lot !