How to display error in Drupal website Add the following codes in the index.php error_reporting(E_ALL); ini_set(‘display_errors’, TRUE); ini_set(‘display_startup_errors’, TRUE); Save index.php file. Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading... Related cPanelDrupalLinux