Fixed PHP error that was showing in production.