by derek reddy.
OOK, so I got a reply:
For security reasons it is not possible to write to the directory /tmp on the server. The PHP function sys_get_tmp_dir() however returns this directory even though out server configuration set a correct and writable directory. As the PHP function tmpfile() relies on sys_get_tmp_dir() any use of this function to determine temporary file names will fail.
We consider this behavior an implementation bug in PHP. As a workaround please explicitly set a usable temporary directory within your script, for example with
putenv("TMPDIR=/is/htdocs/user_tmp/wp10796145_ZZ71TADC1A/");
So where do I put this script and is there anything (else) I need to change/delete