We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2740
    • 95 Posts
    Is there a way to preventing MODx parse errors being displayed? I have an Evo site which if there is a problem I would prefer a blank screen to be displayed instead.
      • 26903
      • 1,336 Posts
      Have a look at the display_errors setting in your php.ini, from the file itself :-
      ; display_errors
      ; Default Value: On
      ; Development Value: On
      ; Production Value: Off

      This will affect all your PHP installs though, there’s this line in your index.php ’error_reporting(E_ALL & ~E_NOTICE);’ that controls the display of errors in MODx,
      use this to disable error reporting :- ’error_reporting(0);’

        Use MODx, or the cat gets it!