Add these lines of code in your file to display all the errors and notices from PHP. For WordPress add them in functions.php at the top of the file.
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Add these lines of code in your file to display all the errors and notices from PHP. For WordPress add them in functions.php at the top of the file.
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);