Email send error stat() failed at Windows, Apache, Sutecrm 7.1.3

I have this error while sending an Email from embedded client, but email successfully have been sent.
User think that mail was not sent but actually was!

Warning: stat(): stat failed for upload/2c959f3d-fb7f-8e3c-0b21-547709a2727e occurred in C:\usr\local\apache22\htdocs\suitecrm\include\upload_file.php on line 802 [2014-11-27 15:24:13] display_stack_trace caller, file: C:\usr\local\apache22\htdocs\suitecrm\include\utils.php line#: 3251
[L:](:StackTraceErrorHandler)
C:\usr\local\apache22\htdocs\suitecrm\include\upload_file.php[L:802](:stat)
[L:](UploadStream:url_stat)

C:\usr\local\apache22\htdocs\suitecrm\modules\Emails\Email.php[L:692](:copy)
C:\usr\local\apache22\htdocs\suitecrm\modules\Emails\EmailUIAjax.php[L:135](Email:email2Send)
C:\usr\local\apache22\htdocs\suitecrm\include\MVC\View\SugarView.php[L:712](:require_once)
C:\usr\local\apache22\htdocs\suitecrm\include\MVC\View\views\view.classic.php[L:71](SugarView:includeClassicFile)
C:\usr\local\apache22\htdocs\suitecrm\include\MVC\View\SugarView.php[L:140](ViewClassic:display)
C:\usr\local\apache22\htdocs\suitecrm\include\MVC\Controller\SugarController.php[L:345](SugarView:process)
C:\usr\local\apache22\htdocs\suitecrm\include\MVC\Controller\SugarController.php[L:292](SugarController:processView)
C:\usr\local\apache22\htdocs\suitecrm\include\MVC\SugarApplication.php[L:89](SugarController:execute)
C:\usr\local\apache22\htdocs\suitecrm\index.php[L:46](SugarApplication:execute)
{"composeLayoutId":"composeLayout1"}

What can I change to prevent this warning?

Hi there,

If these warnings are showing within the CRM, you can modify the php.ini file so that it does not display notices/warnings. If you search the forums for php.ini/warnings/notices you will find posts recommending how to modify your php.ini.

Thanks,

Will.

I’ve set my php.in and restarted Apache

error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING
display_errors = Off

But I still see the warning. You can see a screenshot.
So after I click Send I see an error box, click close, and again I see the letter - looks like if I did’t send it.

Look my last message please. Have you any suggestions?

I tried to set $sugar_config[‘stack_trace_errors’] = false;
Is it suitable for production use?

I’ve set config_override

$sugar_config['stack_trace_errors'] = false

No annoying warning!

you can add first line in index.php of sugarcrm root .
ini_set(“display_errors”,1);

Avdhesh
skype:avdhesh.khare