Twenty Eleven Theme Update Guide: Troubleshooting Common Upgrade Issues
Content
Updating the Twenty Eleven theme is a common task for WordPress site owners, but it can sometimes lead to unexpected problems. Based on community reports, this guide covers the most frequent issues users encounter during updates and provides clear solutions to resolve them.
Common Issues and Solutions
1. Update Fails with "Cannot Remove Old Theme" or Permission Errors
Problem: The automated update fails with errors like "cannot remove old theme" or "Destination directory for file streaming does not exist or is not writable."
Solution: This is often a file permissions issue. The most reliable fix is to perform a manual update:
- Download the latest version of the Twenty Eleven theme from the official WordPress theme directory.
- Access your site via FTP or your hosting control panel's file manager.
- Navigate to
wp-content/themes/. - Delete the existing
twentyelevenfolder. Important: This is safe if you are using a child theme, as your modifications are stored separately. Do NOT delete your child theme folder. - Upload the new, unzipped
twentyelevenfolder from the downloaded zip file.
2. Custom Modifications Are Lost After an Update
Problem: If you modified the original Twenty Eleven theme files directly (instead of using a child theme), your changes will be overwritten during an update.
Solution: The only way to safely preserve customizations is to use a child theme. If you have already modified the parent theme, you can still create a child theme to save your work for future updates:
- If you no longer have the original theme files, you can download your exact previous version of Twenty Eleven from the WordPress theme downloads page. Older versions are archived and can be found by appending the version number to the URL (e.g.,
.../theme/twentyeleven.1.5.zip). - Compare your modified files against the original files using a code comparison tool to identify your changes.
- Create a child theme and move all your custom code into the appropriate files within the child theme directory.
3. Language Files Reset to English
Problem: After an update, the theme reverts to English, losing its translation.
Solution: The update process overwrites files in the parent theme's directory, including language files. To prevent this:
- Place your translation files (
.poand.mo) in your child theme's directory within a/languagesfolder. - Alternatively, you can place them in the global WordPress language directory at
wp-content/languages/themes/. This location is not touched by theme updates. The files should be named in the formattwentyeleven-de_DE.mo(for German, for example). - You can find up-to-date community translations on the official WordPress Translate platform.
4. Needing to Review Changes Before Updating
Problem: Users want to know what changes are in a new version before updating to assess potential impacts.
Solution: While themes do not have a changelog tab like plugins, you can review the code changes for any version:
- Visit the Twenty Eleven Trac timeline.
- To compare two specific versions, modify the URL:
https://themes.trac.wordpress.org/changeset?old_path=/twentyeleven/[old-version]&new_path=/twentyeleven/[new-version]. For example, to see changes from 1.6 to 1.7, you would useold_path=/twentyeleven/1.6&new_path=/twentyeleven/1.7.
Best Practices for a Smooth Update
- Always Use a Child Theme: This is the most critical step for protecting your customizations from being overwritten during any update.
- Backup Your Site: Always create a full backup of your website's files and database before performing any update.
- Update in a Staging Environment First: If possible, test the theme update on a copy of your site to ensure compatibility with your plugins and custom code.
By following these troubleshooting steps and best practices, you can update the Twenty Eleven theme with confidence and avoid common pitfalls.
Related Support Threads Support
-
[Theme: Twenty Eleven] If I Have A Child Theme Created, It Is Safe To Upgrade WordPress, Correct?https://wordpress.org/support/topic/theme-twenty-eleven-if-i-have-a-child-theme-created-it-is-safe-to-upgrade-wordpress-correct/
-
Where do I find the languages files?https://wordpress.org/support/topic/where-do-i-find-the-languages-files/
-
[Theme: Twenty Eleven] 1.3 changeloghttps://wordpress.org/support/topic/theme-twenty-eleven-13-changelog/
-
[Theme: Twenty Eleven] Deprecated Notices in 3.4 betahttps://wordpress.org/support/topic/theme-twenty-eleven-deprecated-notices-in-34-beta/
-
Changes from 1.4 to 1.5 and a question…https://wordpress.org/support/topic/changes-from-14-to-15-and-a-question/
-
Change log not updated for v4.3https://wordpress.org/support/topic/change-log-not-updated-for-v4-3/
-
Need an older version of Twenty Eleven themehttps://wordpress.org/support/topic/need-an-older-version-of-twenty-eleven-theme/
-
[Theme: Twenty Eleven] unable to upgrade 1.3 cannot remove oldhttps://wordpress.org/support/topic/theme-twenty-eleven-unable-to-upgrade-13-cannot-remove-old/
-
Update issue?https://wordpress.org/support/topic/update-issue-1/
-
german language packhttps://wordpress.org/support/topic/german-language-pack-1/
-
How upgrade modified themehttps://wordpress.org/support/topic/how-upgrade-modified-theme/
-
Upgrading to Latest Twenty Elevenhttps://wordpress.org/support/topic/upgrading-to-latest-twenty-eleven/
-
german language fileshttps://wordpress.org/support/topic/german-language-files-1/
-
Twenty Eleven 1.5 Theme version info incorrect, changelog tab neededhttps://wordpress.org/support/topic/twenty-eleven-15-theme-version-info-incorrect-changelog-tab-needed/
-
Update errorhttps://wordpress.org/support/topic/update-error-9/
-
Changelog for those that are interestedhttps://wordpress.org/support/topic/changelog-for-those-that-are-interested/
-
[Theme: Twenty Eleven] Updated and suddenly language changedhttps://wordpress.org/support/topic/theme-twenty-eleven-updated-and-suddenly-language-changed/
-
Can’t update twenty elevenhttps://wordpress.org/support/topic/cant-update-twenty-eleven/
-
Easy Sliderhttps://wordpress.org/support/topic/easy-slider/
-
Whole theme doesn't copy when upgrading to 2011 v2.1https://wordpress.org/support/topic/whole-theme-doesnt-copy-when-upgrading-to-2011-v21/
-
Twenty Eleven 1.6 release notes?https://wordpress.org/support/topic/twenty-eleven-16-release-notes/
-
Updated version kills easyslider litehttps://wordpress.org/support/topic/updated-version-kills-easyslider-lite/
-
Where do I find what is new with version 1.5?https://wordpress.org/support/topic/where-do-i-find-what-is-new-with-version-15/
-
Twenty Eleven Trunk Revision Download?https://wordpress.org/support/topic/twenty-eleven-trunk-revision-download/
-
1.6 to 1.7 Updatehttps://wordpress.org/support/topic/16-to-17-update/