added PHP errors to the debug console