Database error encountered

This script cannot continue until the stated errors are fixed!