Enabling Wordpress Debug Mode

preview_player
Показать описание
One of the most important things to do when developing for wordpress is to make sure you've enabled wordpress debug mode! It's a simple edit to the configuration file to turn it on and off.

If I helped you at all and you want to show some support,

Рекомендации по теме
Комментарии
Автор

Hey David, thanks for the comment! Usually if a plugin is generating an error upon activation WordPress will show the error by default. The only other way I would see to do it would be to check the error log or look for any errors on the site.

Peace!

thecssboss
Автор

Found a solution for showing error when activating plugin. In addition to enable WP_DEBUG, including this line at the beginning of the index.php (of the plugin) works:
error_reporting(E_ALL ^ E_NOTICE);

DavidAnderson-xhfh
Автор

Great video, but what should i do if i am getting the white screen of death and i don't have access to the WordPress, i already disable all plugins and themes and still i am getting this white screen.

Helliran
Автор

Thanks for your help. How do I fix the error...please help.

faithwoman
Автор

Thanks man! Any chance you know how to show error message when activating plugin?

DavidAnderson-xhfh
Автор

You speak so fast and I don't unsertain. Can you show step by step slow?

TatianaEscobar