Who/what is giving you this error message? Does Google accept your sitemap? And shouldn't it have a .xml and not a .php extension to your sitemap?