Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Don’t Panic: How To Troubleshoot Your WordPress Site

360 views

Published on

Basic troubleshooting for WordPress Users – learn the tricks that Happiness Engineers use to diagnose and fix problems in your own WordPress site

Do you get nervous when you update a plugin? Break into a cold sweat when you see a ‘white screen of death’.

Learn the tips and tricks that Happiness Engineers use to diagnose WordPress problems, and troubleshoot your own site.

Key Take-Away
============

Have the confidence to track down and fix issues with your WordPress site.

Presented by Jordan Gillman at WordCamp Sydney 2019

Published in: Business
  • Have you ever used the help of ⇒ www.HelpWriting.net ⇐? They can help you with any type of writing - from personal statement to research paper. Due to this service you'll save your time and get an essay without plagiarism.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Did u try to use external powers for studying? Like ⇒ www.WritePaper.info ⇐ ? They helped me a lot once.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • $40/day Cash-Only Surveys ➜➜➜ https://t.cn/A6ybK1ra
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • I pasted a website that might be helpful to you: ⇒ www.HelpWriting.net ⇐ Good luck!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Don’t Panic: How To Troubleshoot Your WordPress Site

  1. 1. DON'T PANIC!DON'T PANIC! Troubleshooting like a Happiness Engineer Jordan Gillman - Automattic
  2. 2. O HAI!O HAI! I'm Jordan
  3. 3. WHAT DOES A HAPPINESSWHAT DOES A HAPPINESS ENGINEERENGINEER ACTUALLYACTUALLY DO?DO? Engineering Happiness..
  4. 4. WHOA!WHOA! BACKUP NOW!BACKUP NOW!
  5. 5. WHOA!WHOA! BACKUP NOW!BACKUP NOW! Updra Plus: wordpress.org/plugins/updra plus/
  6. 6. SO, WHAT'S THE PROBLEM?SO, WHAT'S THE PROBLEM?
  7. 7. TROUBLESHOOTING QUESTIONSTROUBLESHOOTING QUESTIONS
  8. 8. TROUBLESHOOTING QUESTIONSTROUBLESHOOTING QUESTIONS What page are you on when you notice the problem?
  9. 9. TROUBLESHOOTING QUESTIONSTROUBLESHOOTING QUESTIONS What page are you on when you notice the problem? What are you trying to do?
  10. 10. TROUBLESHOOTING QUESTIONSTROUBLESHOOTING QUESTIONS What page are you on when you notice the problem? What are you trying to do? What did you expect would happen?
  11. 11. TROUBLESHOOTING QUESTIONSTROUBLESHOOTING QUESTIONS What page are you on when you notice the problem? What are you trying to do? What did you expect would happen? What actually happened?
  12. 12. TYPES OF PROBLEMS TO SOLVETYPES OF PROBLEMS TO SOLVE
  13. 13. DOMAIN/DNS PROBLEMSDOMAIN/DNS PROBLEMS
  14. 14. CHECK YOUR DOMAIN/DNSCHECK YOUR DOMAIN/DNS SETTINGSSETTINGS
  15. 15. CHECK YOUR DOMAIN/DNSCHECK YOUR DOMAIN/DNS SETTINGSSETTINGS whatsmydns.net
  16. 16. WHAT'S THE FIX?WHAT'S THE FIX? Has the domain expired or been suspended? Is the domain pointing to the correct Name Servers (or IP Address)?
  17. 17. WHITE SCREEN, 500 SERVERWHITE SCREEN, 500 SERVER ERRORS, AND PHP ERRORSERRORS, AND PHP ERRORS
  18. 18. (S)FTP ACCESS(S)FTP ACCESS
  19. 19. RECOVERY MODERECOVERY MODE Since WordPress 5.2
  20. 20. OK, SO THERE'S A PHPOK, SO THERE'S A PHP PROBLEM...PROBLEM... How do I find out what it is?
  21. 21. OK, SO THERE'S A PHPOK, SO THERE'S A PHP PROBLEM...PROBLEM... How do I find out what it is? And how do I fix it?
  22. 22. FINDING THE ERRORSFINDING THE ERRORS
  23. 23. ERROR LOGERROR LOG
  24. 24. WP_DEBUG IN WP-CONFIG.PHPWP_DEBUG IN WP-CONFIG.PHP
  25. 25. UNDERSTANDING A PHP ERRORUNDERSTANDING A PHP ERROR
  26. 26. Fatal error: Uncaught Error: Call to undefined function comments_templadte() in /app/public/wp- content/themes/twentynineteen/single.php:50 Stack trace: #0 /app/public/wp-includes/template- loader.php(78): include() #1 /app/public/wp-blog- header.php(19): require_once('/app/public/wp-...') #2 /app/public/index.php(17): require('/app/public/wp-...') #3 {main} thrown in /app/public/wp- content/themes/twentynineteen/single.php on line 50
  27. 27. Fatal error: Uncaught Error: Call to undefined function comments_templadte() in /app/public/wp- content/themes/twentynineteen/single.php:50 Stack trace: #0 /app/public/wp-includes/template- loader.php(78): include() #1 /app/public/wp-blog- header.php(19): require_once('/app/public/wp-...') #2 /app/public/index.php(17): require('/app/public/wp-...') #3 {main} thrown in /app/public/wp- content/themes/twentynineteen/single.php on line 50
  28. 28. Fatal error: Uncaught Error: Call to undefined function comments_templadte() in /app/public/wp- content/themes/twentynineteen/single.php:50 Stack trace: #0 /app/public/wp-includes/template- loader.php(78): include() #1 /app/public/wp-blog- header.php(19): require_once('/app/public/wp-...') #2 /app/public/index.php(17): require('/app/public/wp-...') #3 {main} thrown in /app/public/wp- content/themes/twentynineteen/single.php on line 50
  29. 29. Fatal error: Uncaught Error: Call to undefined function comments_templadte() in /app/public/wp- content/themes/twentynineteen/single.php:50 Stack trace: #0 /app/public/wp-includes/template- loader.php(78): include() #1 /app/public/wp-blog- header.php(19): require_once('/app/public/wp-...') #2 /app/public/index.php(17): require('/app/public/wp-...') #3 {main} thrown in /app/public/wp- content/themes/twentynineteen/single.php on line 50
  30. 30. SOME COMMON PHP ERRORSSOME COMMON PHP ERRORS
  31. 31. SOME COMMON PHP ERRORSSOME COMMON PHP ERRORS Call to undefined function...
  32. 32. SOME COMMON PHP ERRORSSOME COMMON PHP ERRORS Call to undefined function... Parse error: syntax error, unexpected '{'...
  33. 33. SOME COMMON PHP ERRORSSOME COMMON PHP ERRORS Call to undefined function... Parse error: syntax error, unexpected '{'... Fatal error: Allowed memory size of 33565589 bytes exhausted...
  34. 34. SOME COMMON PHP ERRORSSOME COMMON PHP ERRORS Call to undefined function... Parse error: syntax error, unexpected '{'... Fatal error: Allowed memory size of 33565589 bytes exhausted... Fatal error: Cannot redeclare (function)...
  35. 35. SOME COMMON PHP ERRORSSOME COMMON PHP ERRORS Call to undefined function... Parse error: syntax error, unexpected '{'... Fatal error: Allowed memory size of 33565589 bytes exhausted... Fatal error: Cannot redeclare (function)... Warning: Cannot modify header information - headers already sent...
  36. 36. NOW WHAT?NOW WHAT?
  37. 37. NOW WHAT?NOW WHAT? Switch theme
  38. 38. NOW WHAT?NOW WHAT? Switch theme Deactivate the problem plugin
  39. 39. NOW WHAT?NOW WHAT? Switch theme Deactivate the problem plugin Try and edit the problem file?
  40. 40. WHAT IF YOU CAN'T FIND AWHAT IF YOU CAN'T FIND A SPECIFIC ERROR?SPECIFIC ERROR? The default plugin/theme dance
  41. 41. HEALTH CHECK &HEALTH CHECK & TROUBLESHOOTING PLUGINTROUBLESHOOTING PLUGIN https://wordpress.org/plugins/health-check/
  42. 42. WHITE SCREEN, 500 SERVERWHITE SCREEN, 500 SERVER ERRORS, AND PHP ERRORSERRORS, AND PHP ERRORS
  43. 43. CSS/JAVASCRIPT PROBLEMSCSS/JAVASCRIPT PROBLEMS
  44. 44. CSS PROBLEMSCSS PROBLEMS
  45. 45. CSS PROBLEMSCSS PROBLEMS Layout is broken
  46. 46. CSS PROBLEMSCSS PROBLEMS Layout is broken Form elements don't look correct
  47. 47. CSS PROBLEMSCSS PROBLEMS Layout is broken Form elements don't look correct Elements overlapping
  48. 48. JAVASCRIPT PROBLEMSJAVASCRIPT PROBLEMS
  49. 49. JAVASCRIPT PROBLEMSJAVASCRIPT PROBLEMS Dynamic elements not appearing
  50. 50. JAVASCRIPT PROBLEMSJAVASCRIPT PROBLEMS Dynamic elements not appearing Interactions not working
  51. 51. BROWSER TOOLSBROWSER TOOLS
  52. 52. INSPECT ELEMENTSINSPECT ELEMENTS Drill down to the problem
  53. 53. SEE (AND EDIT) CSSSEE (AND EDIT) CSS Why is that link Hot Pink!?
  54. 54. CHECK JAVASCRIPT ERRORSCHECK JAVASCRIPT ERRORS (and warnings)
  55. 55. COMMON JAVASCRIPTCOMMON JAVASCRIPT PROBLEMSPROBLEMS
  56. 56. COMMON JAVASCRIPTCOMMON JAVASCRIPT PROBLEMSPROBLEMS Uncaught ReferenceError: jQuery is not defined...
  57. 57. COMMON JAVASCRIPTCOMMON JAVASCRIPT PROBLEMSPROBLEMS Uncaught ReferenceError: jQuery is not defined... TypeError: ‘undefined’ is not a function...
  58. 58. COMMON JAVASCRIPTCOMMON JAVASCRIPT PROBLEMSPROBLEMS Uncaught ReferenceError: jQuery is not defined... TypeError: ‘undefined’ is not a function... TypeError: Cannot read property ‘length’.
  59. 59. NOW WHAT?NOW WHAT?
  60. 60. NOW WHAT?NOW WHAT? Deactivate plugin or theme
  61. 61. NOW WHAT?NOW WHAT? Deactivate plugin or theme Check for Optimization plugins
  62. 62. NOW WHAT?NOW WHAT? Deactivate plugin or theme Check for Optimization plugins Try and edit the problem file?
  63. 63. SPEED AND LOADING PROBLEMSSPEED AND LOADING PROBLEMS
  64. 64. THAT'S IT!THAT'S IT! You know how to Troubleshoot!
  65. 65. THAT'S IT!THAT'S IT! You know how to Troubleshoot!
  66. 66. THANKS!THANKS! jordangillman.blog @jordesign https://automattic.com/work-with-us/

×