Display errors could be turned off in the php.ini
or your Apache configuration file.
You can turn it on in the script:
error_reporting(E_ALL);
ini_set('display_errors', '1');
You should see the same messages in the PHP error log.
More Related Contents:
- Reference – What does this error mean in PHP?
- “Notice: Undefined variable”, “Notice: Undefined index”, “Warning: Undefined array key”, and “Notice: Undefined offset” using PHP
- PHP parse/syntax errors; and how to solve them
- How can I get useful error messages in PHP?
- PHP – Debugging Curl
- Illegal string offset Warning PHP
- How do you debug PHP scripts? [closed]
- How to debug in WooCommerce 3+
- How can I handle the warning of file_get_contents() function in PHP?
- How can I get useful error messages in PHP?
- How can I get useful error messages in PHP?
- How to get name of calling function/method in PHP? [duplicate]
- Disable warnings when loading non-well-formed HTML by DomDocument (PHP)
- Headers and client library minor version mismatch
- How can I write to the console in PHP?
- 500 internal server error, how to debug [duplicate]
- mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]
- How can I get PHP to produce a backtrace upon errors?
- Too much data with var_dump in symfony2 doctrine2
- PHP Warning Permission denied (13) on session_start() [duplicate]
- Unknown modifier ‘/’ in …? what is it? [duplicate]
- relative path in require_once doesn’t work
- Server configuration by allow_url_fopen=0 in
- Remove warning messages in PHP
- Warning: session_start() failed: No such file or directory
- print_r() adds properties to DateTime objects [duplicate]
- PHP error: php_network_getaddresses: getaddrinfo failed: (while getting information from other site.)
- How to fix ‘Creating default object from empty value’ warning in PHP [duplicate]
- Can I detect and handle MySQL Warnings with PHP?
- Fatal error: Uncaught Error: Cannot use a scalar as an array warning