Setting debug to true to determine cause of error
More settings changes