In the presence of unknown array errors, sparse recovery based space-time adaptive processing (SR-STAP) methods usually directly use the ideal spatial steering vectors without array errors to construct the space-time dictionary; thus, the steering vector mismatch between the dictionary and clutter data will cause a severe performance degradation of SR-STAP methods. To solve this problem, in this paper, we propose a two-stage SR-STAP method for suppressing nonhomogeneous clutter in the presence of arbitrary array errors. In the first stage, utilizing the spatial-temporal coupling property of the ground clutter, a set of spatial steering vectors with array errors are well estimated by fine Doppler localization. In the second stage, firstly, in order to solve the model mismatch problem caused by array errors, we directly use these spatial steering vectors obtained in the first stage to construct the space-time dictionary, and then, the constructed dictionary and multiple measurement vectors sparse Bayesian learning (MSBL) algorithm are combined for space-time adaptive processing (STAP). The proposed SR-STAP method can exhibit superior clutter suppression performance and target detection performance in the presence of arbitrary array errors. Simulation results validate the effectiveness of the proposed method.