← All Articles A Product of Kinsa Creative

Logging Errors in Wordpress

To log errors in WordPress, use the error_log() function. e.g.:

error_log('My error message');

If using Ddev for development, tail logs with ddev exec tail -f wp-content/debug.log.

Feedback?

Email us at enquiries@kinsa.cc.