I’ve upgraded a couple sites from WP 3.1.4 to 3.2 without problems. However, one site generates this 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
If I comment out the function in functions.php I can then access the admin panel and finish the upgrade. Then when I uncomment the function the site crashes again when accessing the admin panel.
Anyone have a clue why is this happening?
- The topic ‘Upgrade from WP 3.1.4 to WP 3.2 – Admin error: Cannot redeclare get_temp_dir()’ is closed to new replies.