Mutual coupling and gain-phase errors are very common in sensor channels for array signal processing, and they have serious impacts on the performance of most algorithms, especially in practical applications. Therefore, a new approach for direction of arrival (DOA) estimation of far-field sources in mixed far-field and near-field signals in the presence of mutual coupling and gain-phase imperfections is addressed. First, the model of received data with two kinds of array errors is founded. Then matrix transformation is used for simplifying the spectrum function according to the structure of the uniform linear array (ULA). At last, DOA of far-field signals can be obtained through searching the peaks of the modified spatial spectrum. The usefulness and behavior of the presented approach are illustrated by simulated experiments.