Answer the question
In order to leave comments, you need to log in
Open server ignores notice level errors, how to fix?
I've tried all the tricks in the link.
https://karashchuk.com/PHP/error_reporting-display_errors-display_startup_errors/
PHP Notice: Trying to access array offset on value of type null in ...
; ----------------------------
; Error reporting
; ----------------------------
display_errors = "1"
display_startup_errors = on
error_reporting = E_ALL
error_log = "e:/other/os/ospanel/userdata/logs/PHP_7.3-x64_error.log"
;html_errors = on
;ignore_repeated_errors = off
;ignore_repeated_source = off
log_errors = on
;log_errors_max_len = 1024
report_memleaks = off
report_zend_debug = off
;track_errors = off
;windows.show_crt_warning = off
;xmlrpc_errors = off
;xmlrpc_error_number = 0
Answer the question
In order to leave comments, you need to log in
You need to find php.ini for the desired version of php, and change error_reporting there .
Or change in your script via error_reporting() or ini_set()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question