Missing a temporary folder despite settings in wp-config.php

try to use

get_temp_dir() 

to see if wordpress is using your WP_TEMP_DIR constant.

i’ve tried this code in wp-config.php and it works

define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/');

but you have to put it before the

/* That's all, stop editing! Happy blogging. */

in your wp-config.php file.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)