checkout php error fixed