Fixing persistent warning issue (Constants.php, prepare.php)