Thanks to all of you. I solved the problem by simply doing a PHP upgarde and removing and resetting all permissions. I don't think it had anything to do with PHP, but a clean permissions distribution might help. Anyway, if anyone get the same case in the future need to clean all permissions and set them clear again. Please check if the php.ini setup is as following as well:
Check as well if the web server still does not have write access to the temp directory. Simply upload a PHP file to the web server and display the (temp_dir)
Then write the following code in the file:
_<?php
echo 'upload_tmp_dir = ' . ini_get('upload_tmp_dir') . "\n";_
The temp directory used path should then be displayed as following:
This is a default directory. If you want you can as well set your own folder.