Can't disable error reporting in OpenCart (PHP)

后端 未结 6 2182
失恋的感觉
失恋的感觉 2021-02-10 11:54

I can\'t seem to disable error reporting in PHP - I have tried everything but \"Notice\" errors are still displayed.

My php.ini has

display_errors = Off;         


        
6条回答
  •  囚心锁ツ
    2021-02-10 12:19

    OpenCart uses the set_error_handler() function which causes it to override the error_reporting(0).

    Removing this fixed my problem.

提交回复
热议问题