In PaymentSettings.php:
- Is the $debug variable enabled? If not, set it to true.
- Does the $debug_log variable point to a file to which the script has write access? By default that's not true on most systems. Create a blank file and give it the necessary permissions.
Also, check your PHP error log. Do you see any errors or warnings?