Turn your website’s debug mode on. wordpress code example Example: wordpress debug mode // This enables debugging. define( 'WP_DEBUG', true );