SlideShare a Scribd company logo
HOW TO UPDATE
WORDPRESS SAFELY
BOULDER WP MEETUP
@ASKWPGIRL
NOVEMBER 2, 2015
WHEN TO
UPDATE
ALL THE TIME!
HOW OFTEN DO YOU NEED TO UPDATE
• The longer you wait to update, the
harder it will be.
• Updates can be critical for security.
• Updates can be critical for
functionality (e.g. to work with
latest WordPress version)
• Read changelogs for important
notes, like if major functionality
changes requiring you to update
template files or styles.
MANAGE SITES
• Use tool to manage multiple sites, otherwise, updates are too
time consuming:
• Jetpack
• iControlWP*
• InfiniteWP
• MainWP
• ManageWP
• With site management, you can update ALL plugins across ALL
sites quickly! Good for patches, which majority of updates are.
CREATING STAGING
ENVIRONMENT
USING DESKTOPSERVER - $99.95
CREATE A STAGING SITE LOCALLY
• Backup using BackupBuddy, BackWPUp, or Duplicator plugin
• Choose Zip archive with DesktopServer Pro. Done!
USING WP STAGING PLUGIN - $0
CREATE A STAGING SITE IN SUBFOLDER
• Works on non-managed, 

shared hosting accounts.
USING MANAGED WORDPRESS HOSTING
CREATE A STAGING SITE
• WP Engine, Get Flywheel, and SiteGround provide one-click
staging environments.
https://www.siteground.com/tutorials/staging/create-staging.htm
USING WP STAGECOACH - $4/MONTH/SITE
CREATE A STAGING SITE REMOTELY
• https://wpstagecoach.com/
• Create a staging copy of your
live site with one click.
• Copy changes from your
staging site back to your live
site.
• Choose which changes to
import. You can import some
or all of your file changes,
and/or your database
changes.
BACKING UP
SITE
BACKUP VIA PLUGIN
• BackWPUp - Free plugin, lots of options for scheduling and sending to
remote location.
• Duplicator - Pro version can be used for scheduling backups. Free
version for duplicating the site quickly. Great for migrations.
• BackupBuddy - Paid plugin. Great for scheduling and migrations.
• UpDraftPlus - Similar to BackWPUp - paid remote backups.
• Not all hosts will work well - might need to enable alternate cron in
wp-config.php file: http://ithemes.com/codex/page/
BackupBuddy:_Frequent_Support_Issues#HTTP_Loopback_Connections_Disabled
• Keep backups reasonable size! Exclude large files and uploads folders.
BACKUP VIA SERVICE
• Can be more reliable because not relying on PHP to run.
• WorpDrive - my personal favorite. Great pricing. Has test
restores, so you can be sure your backups really are working!
• VaultPress - great option by Automattic.
UPDATING
PLUGINS
ORDER OF OPERATIONS
UPDATE STRATEGIES
1. Update plugins first. Replace old plugins.
2. Update theme.
3. Update WordPress core.
4. If okay on staging, can do the same on live or deploy staging files
to live (depending on staging environment).

• Can do patch (bug fix updates) live.
• Good to have backup just in case.
• Have FTP/SFTP/shell and cPanel access handy.
PATCHES, UPDATES, UPGRADES
UNDERSTANDING SOFTWARE VERSIONING
• Sequence-based identifiers are used to convey the significance of
changes between releases
• 4.3 to 4.3.1 - typically bug patch, fix - just do it!
• 4.3.1 to 4.4 - usually update to functionality - read changelog
• 4.4 to 5.0 - is major change to software - test thoroughly
• Read change logs: http://wordpress.org/plugins - find your plugin.
Click Changelog tab.
JUST UPDATE THESE - DON’T WORRY, BE HAPPY!
EXAMPLE PATCHES
CHECK CHANGELOG
EXAMPLE UPDATES
• Beware the COMPLETE CODE CLEANUP. This will break your site.
READ CHANGELOG
NEW FEATURES = 

MANY FIXES
• Example of WooCommerce 2.4
release followed by immediate
patch fixes.
• Update to new version IF you
need a new feature.
• Okay to wait a short while for
immediate bug fixes.
• Always update if security patch!
• Always do the patches!
USE LICENSE KEYS
UPDATING PREMIUM PLUGINS
• Always enter license key for premium plugins.
• Purchase premium plugins even if bundled with theme. Theme
developers may be slow to update their bundled plugins.
CHOOSING PLUGINS
• Use the least number of plugins you need.
• Use the more popular plugins.
• Pay for plugins! Plugins with Pro option will have
better longevity.
• Donate to your free plugin developer.
• Use plugins by developers with good reputation
and previous experience.
• Check support tab.
• Don’t use old plugins!!!!
PLUGIN TEMPLATE/STYLE UPDATES
• If plugin uses customizable templates (e.g. WooCommerce,
NextGEN Gallery, The Events Calendar), compare child theme
templates to update plugin templates.
• Plugin may have moved, deleted, or renamed the stylesheets and
templates you have mirrored in your child theme.
UPDATING
THEMES
BEST PRACTICES
UPDATING THEMES
• Use Child Theme - https://codex.wordpress.org/Child_Themes
• If no child, use Jetpack’s Custom CSS module to make style
changes
• Read changelog to see if major update or just patch
• Compare modified child theme files to parent theme after update
• Export theme options if possible before updating
• Note: If a theme name changes, all options will be reset to default
• Some updates are BIG and require recreating parts of the site -
time these for site redesign
ENTER LICENSE KEY
PREMIUM THEMES
• If Envato theme or plugin doesn’t have license area, install the
Envato WordPress Toolkit plugin and enter your user name and
API key.
DOWNLOAD/UPLOAD
MANUALLY UPDATING PARENT THEME
• If no way to auto update theme, then download latest version
from developer
• Download a copy of your current theme for backup
• Upload the new version of the theme to the theme’s folder
• Be sure to OVERWRITE the older theme — don’t have two copies
CHANGES TO NOTE
• Updated theme may use new shortcodes.
• Updated theme may use new HTML, so you’ll need to update your
stylesheet selectors.
• Updated theme may have changed location of template files, so
you’ll need to make sure to match your child theme files to the
parent.
• Update theme may have new theme options.
UPDATING WP
CORE
JUST DO IT!
UPDATING WORDPRESS
• Do all patch/security updates immediately - no need for staging,
e.g. 4.3 to 4.3.1.
• Major version numbers - okay to wait a little bit, e.g. 4.3 to 4.4, to
be sure your plugins have been updated for it.
• Test major version updates in staging to be sure plugins and
themes play well.
IF UPDATE FAILS OR CAN’T UPDATE
• Download core files from WordPress.org.
• Unzip archive.
• Copy all files over EXCEPT wp-content
folder. Replace whatever is existing.
UPGRADING DATABASE TABLES
• After major WP update, you will likely need to visit your site’s
Dashboard and will be prompted to update the database tables.
TROUBLE-
SHOOTING
101
WHAT IS TROUBLESHOOTING?
• Identify variables
• Eliminate variables
• Variables include:
• Hosting - MySQL and PHP versions (and Apache)
• Themes and plugins
• WordPress core
• Modifications made to your child theme
• Cache
YIKES!
TROUBLESHOOTING PLUGIN UPDATES
• If white screen of death, rename plugins folder to plugins-old
• Login to Dashboard and go to plugins page - all plugins will show
as de-activated
• Rename plugins folder back to plugins
• Activate plugins one at a time
• See if issue is repeatable using TwentyFifteen theme
REINSTALLING SUBVERSION
• Find plugin on wordpress.org >
click Developers tab
• Download previous version
• De-activate and delete the
broken version on your site
• Upload and activate the old,
working version
• NOT a long-term solution!
GENERAL TROUBLESHOOTING
• Edit your wp-config.php file in the public_html (or WordPress
install directory) and change the line define(‘WP_DEBUG’, false);
to define(‘WP_DEBUG’, true);
• Install Query Monitor plugin to check for PHP errors as well as
check environment:
HTTPS://WORDPRESS.ORG/ABOUT/REQUIREMENTS/
WORDPRESS REQUIREMENTS
• WordPress recommend your host supports:
• PHP version 5.6 or greater - may need to update PHP
• MySQL version 5.5 or greater - may need to update DB
• Apache or Nginx are most robust and feature-rich server
environment
• WordPress works with PHP 5.2.4+ and MySQL 5.0+, but some
plugins might not.
• Time for a new host?
CLEAR YOUR CACHE
• Clear your WordPress cache via your plugin settings
• Clear your server cache at web host (WP Engine, SiteGround, etc.)
• Clear your Cloudflare cache
• Clear your browser cache
RESOURCES
• http://askwpgirl.com/updating-wordpress-plugins-themes-core/
• https://codex.wordpress.org/Updating_WordPress
• Sign up at wordpress.org to always get the latest news from WP
• Sign up for sucuri.net emails to get latest security news
• Submit your site to Google Search Console: http://askwpgirl.com/
submitting-wordpress-site-google-webmaster-tools/
• Optimize your database: http://askwpgirl.com/optimize-wordpress-
mysql-database/
@askwpgirl - http://askwpgirl.com
Angela Bowman, Boulder, CO

More Related Content

PDF
Upgrading or migrating to a higher AEM version - Planning and process
PPTX
Battling the WSOD - A Tech Support Tale
PDF
Aligning to AEMs Release Cycle
PDF
Managing a WordPress Site as a Composer Project by Rahul Bansal @ WordCamp Na...
PDF
Scale ColdFusion with Terracotta Distributed Caching for Ehchache
PDF
Aem maintenance
PDF
Plugins: A double-edged sword
PDF
How to Optimize Your Blog for Faster Loading in Three Easy Steps
Upgrading or migrating to a higher AEM version - Planning and process
Battling the WSOD - A Tech Support Tale
Aligning to AEMs Release Cycle
Managing a WordPress Site as a Composer Project by Rahul Bansal @ WordCamp Na...
Scale ColdFusion with Terracotta Distributed Caching for Ehchache
Aem maintenance
Plugins: A double-edged sword
How to Optimize Your Blog for Faster Loading in Three Easy Steps

What's hot (20)

PDF
Maximize the power of OSGi in AEM
PDF
Locking Down CF Servers
PPT
Creating Local WordPress Installs
PPTX
Keeping Your Joomla! Site Secure
PDF
Ryan king wp-plugin-presentation
PPTX
Plug Ins For the People
PDF
How to make your Webpack builds 10x faster
PDF
WordPress 4.0 - What's New
PDF
WordPress Acceptance Testing, Solved!
KEY
CakePHP at a Massive Scale on a Budget
PPTX
Increasing Traffic Through Optimization : The Importance of Site Speed
PPTX
15 ways to improve your word press website performance in 30 minutes
PDF
Tech talk live alfresco add ons
PPTX
WP-CLI: WordCamp NYC 2015
PDF
Overcome-3-common-aem-delivery-challenges
PDF
Developing Locally with WordPress: No More Cowboy Coding
ZIP
Wordcamp Raleigh Multimedia: Photos, Video, and Podcasting
PDF
Word press as your company website
PPTX
My Database Skills Killed the Server
PPTX
AEM Communities 6.1 - MongoSV '15
Maximize the power of OSGi in AEM
Locking Down CF Servers
Creating Local WordPress Installs
Keeping Your Joomla! Site Secure
Ryan king wp-plugin-presentation
Plug Ins For the People
How to make your Webpack builds 10x faster
WordPress 4.0 - What's New
WordPress Acceptance Testing, Solved!
CakePHP at a Massive Scale on a Budget
Increasing Traffic Through Optimization : The Importance of Site Speed
15 ways to improve your word press website performance in 30 minutes
Tech talk live alfresco add ons
WP-CLI: WordCamp NYC 2015
Overcome-3-common-aem-delivery-challenges
Developing Locally with WordPress: No More Cowboy Coding
Wordcamp Raleigh Multimedia: Photos, Video, and Podcasting
Word press as your company website
My Database Skills Killed the Server
AEM Communities 6.1 - MongoSV '15
Ad

Viewers also liked (9)

PDF
How WordPress Works
PDF
Testes de Performance - Drupal camp Florianópolis
DOCX
The Ural Conservatoire
PDF
Best Practices for WordPress
PPTX
Best Practices for WordPress in Enterprise
PDF
Slideshare photographer final
PDF
Slideshare videogames components
PDF
Slideshare psychologyofcolor final
PPTX
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
How WordPress Works
Testes de Performance - Drupal camp Florianópolis
The Ural Conservatoire
Best Practices for WordPress
Best Practices for WordPress in Enterprise
Slideshare photographer final
Slideshare videogames components
Slideshare psychologyofcolor final
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
Ad

Similar to Updating WordPress Themes, Plugins, and Core Safely (20)

PDF
How I Learned to Stop Worrying and Love the Update Button
PPTX
Wordpress backing Up and Updating
PPTX
How to prevent big disasters when updating WordPress
PPTX
WCBos13 intermediate workshop
PPTX
Converted Website To WordPress Development Company!
PDF
Converted Website To WordPress Development Company!
PPTX
5 things to know before updating word press version
PDF
Skillfeed word press-course-anouncement-april-23-2015
PDF
WordPress updates - Why You Can't Live Without Them
PDF
GDI - Intro to WordPress
PDF
WordCamp Ottawa 2016: Updates
PPTX
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...
PDF
Emergency WordPress Troubleshooting
KEY
WordPress - fixing sites with problems
PPTX
WordPress Workshop
PDF
Testing and updating WordPress - Advanced techniques for avoiding regressions
PPTX
Avoiding Errors: Troubleshoot Wordpress like a Pro!
PPTX
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
PPTX
WordPress Upgrades: Read, Set, Go!
PDF
eMusic: WordPress in the Enterprise
How I Learned to Stop Worrying and Love the Update Button
Wordpress backing Up and Updating
How to prevent big disasters when updating WordPress
WCBos13 intermediate workshop
Converted Website To WordPress Development Company!
Converted Website To WordPress Development Company!
5 things to know before updating word press version
Skillfeed word press-course-anouncement-april-23-2015
WordPress updates - Why You Can't Live Without Them
GDI - Intro to WordPress
WordCamp Ottawa 2016: Updates
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...
Emergency WordPress Troubleshooting
WordPress - fixing sites with problems
WordPress Workshop
Testing and updating WordPress - Advanced techniques for avoiding regressions
Avoiding Errors: Troubleshoot Wordpress like a Pro!
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
WordPress Upgrades: Read, Set, Go!
eMusic: WordPress in the Enterprise

More from Angela Bowman (9)

PDF
Creating a style guide for website using Elementor
PDF
Using Custom Post Types and Advanced Custom Fields with Elementor
PDF
Security Presentation for Boulder WordPress Meetup
PDF
Your WordPress Site is and is not Hacked - You don't know until you check
PDF
Your WordPress Website Is/Not Hacked
PDF
Web designtrends 5-29-2013
PDF
Really Awesome WordPress Plugins You Should Know About
PDF
WordPress Security Essentials
PDF
WordPress Security Essentials WordCamp Denver 2012
Creating a style guide for website using Elementor
Using Custom Post Types and Advanced Custom Fields with Elementor
Security Presentation for Boulder WordPress Meetup
Your WordPress Site is and is not Hacked - You don't know until you check
Your WordPress Website Is/Not Hacked
Web designtrends 5-29-2013
Really Awesome WordPress Plugins You Should Know About
WordPress Security Essentials
WordPress Security Essentials WordCamp Denver 2012

Recently uploaded (20)

PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Approach and Philosophy of On baking technology
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
project resource management chapter-09.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Approach and Philosophy of On baking technology
TLE Review Electricity (Electricity).pptx
OMC Textile Division Presentation 2021.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
1. Introduction to Computer Programming.pptx
Tartificialntelligence_presentation.pptx
Assigned Numbers - 2025 - Bluetooth® Document
MIND Revenue Release Quarter 2 2025 Press Release
Zenith AI: Advanced Artificial Intelligence
Group 1 Presentation -Planning and Decision Making .pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Heart disease approach using modified random forest and particle swarm optimi...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Unlocking AI with Model Context Protocol (MCP)
Web App vs Mobile App What Should You Build First.pdf
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
project resource management chapter-09.pdf
Hindi spoken digit analysis for native and non-native speakers
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf

Updating WordPress Themes, Plugins, and Core Safely

  • 1. HOW TO UPDATE WORDPRESS SAFELY BOULDER WP MEETUP @ASKWPGIRL NOVEMBER 2, 2015
  • 3. ALL THE TIME! HOW OFTEN DO YOU NEED TO UPDATE • The longer you wait to update, the harder it will be. • Updates can be critical for security. • Updates can be critical for functionality (e.g. to work with latest WordPress version) • Read changelogs for important notes, like if major functionality changes requiring you to update template files or styles.
  • 4. MANAGE SITES • Use tool to manage multiple sites, otherwise, updates are too time consuming: • Jetpack • iControlWP* • InfiniteWP • MainWP • ManageWP • With site management, you can update ALL plugins across ALL sites quickly! Good for patches, which majority of updates are.
  • 6. USING DESKTOPSERVER - $99.95 CREATE A STAGING SITE LOCALLY • Backup using BackupBuddy, BackWPUp, or Duplicator plugin • Choose Zip archive with DesktopServer Pro. Done!
  • 7. USING WP STAGING PLUGIN - $0 CREATE A STAGING SITE IN SUBFOLDER • Works on non-managed, 
 shared hosting accounts.
  • 8. USING MANAGED WORDPRESS HOSTING CREATE A STAGING SITE • WP Engine, Get Flywheel, and SiteGround provide one-click staging environments. https://www.siteground.com/tutorials/staging/create-staging.htm
  • 9. USING WP STAGECOACH - $4/MONTH/SITE CREATE A STAGING SITE REMOTELY • https://wpstagecoach.com/ • Create a staging copy of your live site with one click. • Copy changes from your staging site back to your live site. • Choose which changes to import. You can import some or all of your file changes, and/or your database changes.
  • 11. BACKUP VIA PLUGIN • BackWPUp - Free plugin, lots of options for scheduling and sending to remote location. • Duplicator - Pro version can be used for scheduling backups. Free version for duplicating the site quickly. Great for migrations. • BackupBuddy - Paid plugin. Great for scheduling and migrations. • UpDraftPlus - Similar to BackWPUp - paid remote backups. • Not all hosts will work well - might need to enable alternate cron in wp-config.php file: http://ithemes.com/codex/page/ BackupBuddy:_Frequent_Support_Issues#HTTP_Loopback_Connections_Disabled • Keep backups reasonable size! Exclude large files and uploads folders.
  • 12. BACKUP VIA SERVICE • Can be more reliable because not relying on PHP to run. • WorpDrive - my personal favorite. Great pricing. Has test restores, so you can be sure your backups really are working! • VaultPress - great option by Automattic.
  • 14. ORDER OF OPERATIONS UPDATE STRATEGIES 1. Update plugins first. Replace old plugins. 2. Update theme. 3. Update WordPress core. 4. If okay on staging, can do the same on live or deploy staging files to live (depending on staging environment).
 • Can do patch (bug fix updates) live. • Good to have backup just in case. • Have FTP/SFTP/shell and cPanel access handy.
  • 15. PATCHES, UPDATES, UPGRADES UNDERSTANDING SOFTWARE VERSIONING • Sequence-based identifiers are used to convey the significance of changes between releases • 4.3 to 4.3.1 - typically bug patch, fix - just do it! • 4.3.1 to 4.4 - usually update to functionality - read changelog • 4.4 to 5.0 - is major change to software - test thoroughly • Read change logs: http://wordpress.org/plugins - find your plugin. Click Changelog tab.
  • 16. JUST UPDATE THESE - DON’T WORRY, BE HAPPY! EXAMPLE PATCHES
  • 17. CHECK CHANGELOG EXAMPLE UPDATES • Beware the COMPLETE CODE CLEANUP. This will break your site.
  • 18. READ CHANGELOG NEW FEATURES = 
 MANY FIXES • Example of WooCommerce 2.4 release followed by immediate patch fixes. • Update to new version IF you need a new feature. • Okay to wait a short while for immediate bug fixes. • Always update if security patch! • Always do the patches!
  • 19. USE LICENSE KEYS UPDATING PREMIUM PLUGINS • Always enter license key for premium plugins. • Purchase premium plugins even if bundled with theme. Theme developers may be slow to update their bundled plugins.
  • 20. CHOOSING PLUGINS • Use the least number of plugins you need. • Use the more popular plugins. • Pay for plugins! Plugins with Pro option will have better longevity. • Donate to your free plugin developer. • Use plugins by developers with good reputation and previous experience. • Check support tab. • Don’t use old plugins!!!!
  • 21. PLUGIN TEMPLATE/STYLE UPDATES • If plugin uses customizable templates (e.g. WooCommerce, NextGEN Gallery, The Events Calendar), compare child theme templates to update plugin templates. • Plugin may have moved, deleted, or renamed the stylesheets and templates you have mirrored in your child theme.
  • 23. BEST PRACTICES UPDATING THEMES • Use Child Theme - https://codex.wordpress.org/Child_Themes • If no child, use Jetpack’s Custom CSS module to make style changes • Read changelog to see if major update or just patch • Compare modified child theme files to parent theme after update • Export theme options if possible before updating • Note: If a theme name changes, all options will be reset to default • Some updates are BIG and require recreating parts of the site - time these for site redesign
  • 24. ENTER LICENSE KEY PREMIUM THEMES • If Envato theme or plugin doesn’t have license area, install the Envato WordPress Toolkit plugin and enter your user name and API key.
  • 25. DOWNLOAD/UPLOAD MANUALLY UPDATING PARENT THEME • If no way to auto update theme, then download latest version from developer • Download a copy of your current theme for backup • Upload the new version of the theme to the theme’s folder • Be sure to OVERWRITE the older theme — don’t have two copies
  • 26. CHANGES TO NOTE • Updated theme may use new shortcodes. • Updated theme may use new HTML, so you’ll need to update your stylesheet selectors. • Updated theme may have changed location of template files, so you’ll need to make sure to match your child theme files to the parent. • Update theme may have new theme options.
  • 28. JUST DO IT! UPDATING WORDPRESS • Do all patch/security updates immediately - no need for staging, e.g. 4.3 to 4.3.1. • Major version numbers - okay to wait a little bit, e.g. 4.3 to 4.4, to be sure your plugins have been updated for it. • Test major version updates in staging to be sure plugins and themes play well.
  • 29. IF UPDATE FAILS OR CAN’T UPDATE • Download core files from WordPress.org. • Unzip archive. • Copy all files over EXCEPT wp-content folder. Replace whatever is existing.
  • 30. UPGRADING DATABASE TABLES • After major WP update, you will likely need to visit your site’s Dashboard and will be prompted to update the database tables.
  • 32. 101 WHAT IS TROUBLESHOOTING? • Identify variables • Eliminate variables • Variables include: • Hosting - MySQL and PHP versions (and Apache) • Themes and plugins • WordPress core • Modifications made to your child theme • Cache
  • 33. YIKES! TROUBLESHOOTING PLUGIN UPDATES • If white screen of death, rename plugins folder to plugins-old • Login to Dashboard and go to plugins page - all plugins will show as de-activated • Rename plugins folder back to plugins • Activate plugins one at a time • See if issue is repeatable using TwentyFifteen theme
  • 34. REINSTALLING SUBVERSION • Find plugin on wordpress.org > click Developers tab • Download previous version • De-activate and delete the broken version on your site • Upload and activate the old, working version • NOT a long-term solution!
  • 35. GENERAL TROUBLESHOOTING • Edit your wp-config.php file in the public_html (or WordPress install directory) and change the line define(‘WP_DEBUG’, false); to define(‘WP_DEBUG’, true); • Install Query Monitor plugin to check for PHP errors as well as check environment:
  • 36. HTTPS://WORDPRESS.ORG/ABOUT/REQUIREMENTS/ WORDPRESS REQUIREMENTS • WordPress recommend your host supports: • PHP version 5.6 or greater - may need to update PHP • MySQL version 5.5 or greater - may need to update DB • Apache or Nginx are most robust and feature-rich server environment • WordPress works with PHP 5.2.4+ and MySQL 5.0+, but some plugins might not. • Time for a new host?
  • 37. CLEAR YOUR CACHE • Clear your WordPress cache via your plugin settings • Clear your server cache at web host (WP Engine, SiteGround, etc.) • Clear your Cloudflare cache • Clear your browser cache
  • 38. RESOURCES • http://askwpgirl.com/updating-wordpress-plugins-themes-core/ • https://codex.wordpress.org/Updating_WordPress • Sign up at wordpress.org to always get the latest news from WP • Sign up for sucuri.net emails to get latest security news • Submit your site to Google Search Console: http://askwpgirl.com/ submitting-wordpress-site-google-webmaster-tools/ • Optimize your database: http://askwpgirl.com/optimize-wordpress- mysql-database/ @askwpgirl - http://askwpgirl.com Angela Bowman, Boulder, CO