Menu

#824 Remove error_handler and fix bugs

Git
closed-rejected
nobody
None
8
2021-12-19
2021-12-14
Marc
No

You have installed an error handler to ignore all bugs that may occur. So it looks like no bugs happen. But this is not true. Every call produces at least 600 errors.
Most of them "Undefined array key" - but this SHOULD be fixed, not IGNORED!

Discussion

  • Jakub Vrána

    Jakub Vrána - 2021-12-19
    • status: open --> closed-rejected
     
  • Jakub Vrána

    Jakub Vrána - 2021-12-19

    These don't cause any problems so they are not really bugs. PHP just decided to report something that might be a problem (but it is not in the case of Adminer).

     
  • Marc

    Marc - 2021-12-19

    It is, if you attach another error handler to monitor for bugs.
    And accessing an array-element which is not present is an error. and can be easily solved, just by checking empty() or isset()

     

Log in to post a comment.