100%
  • Home
  • Courses
    • View All
Login
  • Home
  • Courses
  • Log In
  • View All
Home WordPress Training Program Debugging 🐞 EasyEngine site debugging with docker commands

Course Lessons

WordPress Training Program

1 Getting started with WordPress πŸ“£
  • What is WordPress
  • Creating a blog and writing daily updates ✍️
  • Installing WordPress
  • WordPress Terminology πŸ“ƒ
  • How WordPress works
  • Understanding WordPress Database Schema
  • Using themes and plugins
2 Setting up Development Environment πŸ‘¨β€πŸ’»
  • Introduction to Git and SVN πŸ”„
  • Setting up an Integrated Development Environment (IDE)
  • Pushing changes to site via Git commits/branches
  • Setting up Z shell and Oh My Zsh for fast command line work
3 Coding Standards and Best Practices πŸ’―
  • WordPress Coding Standards (WPCS)
  • PHP_CodeSniffer (PHPCS)
  • Peer Code Review
  • Security πŸ›‘οΈ
  • WordPress Documentation Schema
4 Plugin Development πŸ› οΈ
  • Introduction to plugin development
  • Hooks: Actions and Filters
  • Custom Post Types and Taxonomies
  • WordPress Core APIs
  • WP_Query (Custom Query)
  • WordPress AJAX
  • Interacting with remote data and APIs
  • Plugin development assignment
5 Theme Development πŸ‘€
  • Anatomy and architecture of a theme
  • Theme Stylesheet and Functions file
  • Template files and hierarchy
  • Customizer
  • Asset Building using Webpack & Babel
  • Child Themes
  • Handling Media in WordPress
  • Theme development assignment
6 Debugging 🐞
  • Introduction to Xdebug
  • EasyEngine site debugging with docker commands
  • How to check Nginx, PHP, and WP Debug logs
7 Advanced Concepts πŸ“œ
  • WP-CLI
  • REST API
  • Roles and Capabilities
  • Caching
  • Custom Database Table Creation
  • Optimization ⚑
  • Users and User metadata
  • Cron β³βš™οΈ
  • Background Processing
  • Internalization and Localization 🌐
  • Multisite
  • Email with WordPress πŸ“§
8 Block Editor (Gutenberg) πŸ—οΈ
  • Default Blocks
  • Creating a block
9 Testing πŸ€“
  • PHPUnit Test
  • JavaScript: QUnit, Jest
  • ESLint, JSLint, JSHint, JSCS
  • CSS: Stylelint
10 Extras πŸ˜ƒ
  • Decoupled
  • GraphQL
  • React and Next.js
  • WooCommerce πŸ›’
  • Accessibility (WCAG 2.0) πŸ”
11 Contributing to WordPress ❀️
12 Server Side πŸ–₯️
  • How to check CPU/Memory/Disk Space on a server
  • Rsync and SSH basics
  • How to sync one site with other using WP-CLI and rsync
  • Tmux basics
13 Congratulations πŸ₯³
Return to WordPress Training Program

Trainer(s)

There is no group/trainer

WordPress Training Program

EasyEngine site debugging with docker commands

Now, here are some useful commands that can help you debug your site.

tail -f <filename>
tail -f -n <number-of-tailing-lines> <filename>

#example to tail from last 1000 files
tail -f -n 1000 <filename>

WordPress Debugging

Change these variables to true in site’s wp-config.php file.

// Enable WP_DEBUG mode.
define( "WP_DEBUG", true );

// Enable Debug logging to the /wp-content/debug.log file
define( "WP_DEBUG_LOG", true );

// Disable display of errors and warnings.
define( "WP_DEBUG_DISPLAY", true );

Access MYSQL as the root user

Get Root Pass

cd /opt/easyengine/services && docker-compose exec global-db bash -c 'echo ${MYSQL_ROOT_PASSWORD}'

Access MySQL as Root User

cd /opt/easyengine/services && docker-compose exec global-db bash -c 'mysql -uroot -p${MYSQL_ROOT_PASSWORD}'

← Previous Topic

Copyright 2017-25 All Rights Reserved | Designed by WisdmLabs