Difference between revisions of "Wordpress errors"
From KOP KB
Line 1: | Line 1: | ||
+ | == Redeclare get_temp_dir() error == | ||
Error: Fatal Error: Cannot redeclare get_temp_dir() (previously declared in /home/public_html/wp-includes/functions.php:2160) in /home/public_html/wp-admin/includes/file.php on line 189 | Error: Fatal Error: Cannot redeclare get_temp_dir() (previously declared in /home/public_html/wp-includes/functions.php:2160) in /home/public_html/wp-admin/includes/file.php on line 189 | ||
Revision as of 17:12, 17 September 2014
Redeclare get_temp_dir() error
Error: Fatal Error: Cannot redeclare get_temp_dir() (previously declared in /home/public_html/wp-includes/functions.php:2160) in /home/public_html/wp-admin/includes/file.php on line 189
Solution: Reinstall all WP core files. To keep the plugins, themes and content. Just deleted WP-Admin and uploaded the fresh version and the same for the functions.php.